Moved string_dimension image to pillow-depends

This commit is contained in:
Andrew Murray 2020-10-19 21:32:56 +11:00 committed by Hugo van Kemenade
parent ef948d998e
commit 78889c72e7
2 changed files with 4 additions and 0 deletions

Binary file not shown.

View File

@ -598,6 +598,10 @@ class TestFileTiff:
# Ignore this UserWarning which triggers for four tags:
# "Possibly corrupt EXIF data. Expecting to read 50404352 bytes but..."
@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):
# Assert that an error is raised if one of the dimensions is a string
with pytest.raises(ValueError):