We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9c69de commit 8e6d518Copy full SHA for 8e6d518
Tests/test_file_eps.py
@@ -158,7 +158,9 @@ def test_missing_boundingbox_comment(prefix: bytes) -> None:
158
simple_eps_file_with_invalid_boundingbox_valid_imagedata,
159
),
160
)
161
-def test_invalid_boundingbox_comment(prefix: bytes, file_lines: list[bytes]) -> None:
+def test_invalid_boundingbox_comment(
162
+ prefix: bytes, file_lines: tuple[bytes, ...]
163
+) -> None:
164
data = io.BytesIO(prefix + b"\n".join(file_lines))
165
with pytest.raises(OSError, match="cannot determine EPS bounding box"):
166
EpsImagePlugin.EpsImageFile(data)
0 commit comments