mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
Moved string_dimension image to pillow-depends
This commit is contained in:
parent
9158037592
commit
f886bc973b
Binary file not shown.
|
@ -598,6 +598,10 @@ class TestFileTiff:
|
||||||
# Ignore this UserWarning which triggers for four tags:
|
# Ignore this UserWarning which triggers for four tags:
|
||||||
# "Possibly corrupt EXIF data. Expecting to read 50404352 bytes but..."
|
# "Possibly corrupt EXIF data. Expecting to read 50404352 bytes but..."
|
||||||
@pytest.mark.filterwarnings("ignore:Possibly corrupt EXIF data")
|
@pytest.mark.filterwarnings("ignore:Possibly corrupt EXIF data")
|
||||||
|
@pytest.mark.skipif(
|
||||||
|
not os.path.exists("Tests/images/string_dimension.tiff"),
|
||||||
|
reason="Extra image files not installed",
|
||||||
|
)
|
||||||
def test_string_dimension(self):
|
def test_string_dimension(self):
|
||||||
# Assert that an error is raised if one of the dimensions is a string
|
# Assert that an error is raised if one of the dimensions is a string
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user