Skip to content

Commit 8e6d518

Browse files
Yay295radarhere
andauthored
change parameter type from list to tuple
Co-authored-by: Andrew Murray <[email protected]>
1 parent f9c69de commit 8e6d518

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/test_file_eps.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ def test_missing_boundingbox_comment(prefix: bytes) -> None:
158158
simple_eps_file_with_invalid_boundingbox_valid_imagedata,
159159
),
160160
)
161-
def test_invalid_boundingbox_comment(prefix: bytes, file_lines: list[bytes]) -> None:
161+
def test_invalid_boundingbox_comment(
162+
prefix: bytes, file_lines: tuple[bytes, ...]
163+
) -> None:
162164
data = io.BytesIO(prefix + b"\n".join(file_lines))
163165
with pytest.raises(OSError, match="cannot determine EPS bounding box"):
164166
EpsImagePlugin.EpsImageFile(data)

0 commit comments

Comments
 (0)