Skip to content

Commit

Permalink
Test ignoring second ImageData
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 5, 2024
1 parent d4fedc8 commit 7e5fe00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file added Tests/images/eps/1_second_imagedata.eps
Binary file not shown.
6 changes: 5 additions & 1 deletion Tests/test_file_eps.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,11 @@ def test_bytesio_object() -> None:
@pytest.mark.parametrize(
# These images have an "ImageData" descriptor.
"filename",
("Tests/images/eps/1.eps", "Tests/images/eps/1_boundingbox_after_imagedata.eps"),
(
"Tests/images/eps/1.eps",
"Tests/images/eps/1_boundingbox_after_imagedata.eps",
"Tests/images/eps/1_second_imagedata.eps",
),
)
def test_1(filename: str) -> None:
with Image.open(filename) as im:
Expand Down

0 comments on commit 7e5fe00

Please sign in to comment.