Skip to content

Commit

Permalink
Moved string_dimension image to pillow-depends
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Oct 19, 2020
1 parent 9158037 commit f886bc9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file removed Tests/images/string_dimension.tiff
Binary file not shown.
4 changes: 4 additions & 0 deletions Tests/test_file_tiff.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,10 @@ def test_close_on_load_nonexclusive(self, tmp_path):
# 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):
Expand Down

0 comments on commit f886bc9

Please sign in to comment.