mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Test ignoring second ImageData
This commit is contained in:
parent
d4fedc852c
commit
1b57b32caf
BIN
Tests/images/eps/1_second_imagedata.eps
Normal file
BIN
Tests/images/eps/1_second_imagedata.eps
Normal file
Binary file not shown.
|
@ -257,7 +257,11 @@ def test_bytesio_object() -> None:
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
# These images have an "ImageData" descriptor.
|
# These images have an "ImageData" descriptor.
|
||||||
"filename",
|
"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:
|
def test_1(filename: str) -> None:
|
||||||
with Image.open(filename) as im:
|
with Image.open(filename) as im:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user