From f886bc973bb972a796756d9c0a728795d203dd97 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 19 Oct 2020 21:32:56 +1100 Subject: [PATCH] Moved string_dimension image to pillow-depends --- Tests/images/string_dimension.tiff | Bin 483 -> 0 bytes Tests/test_file_tiff.py | 4 ++++ 2 files changed, 4 insertions(+) delete mode 100644 Tests/images/string_dimension.tiff diff --git a/Tests/images/string_dimension.tiff b/Tests/images/string_dimension.tiff deleted file mode 100644 index d0b55830128495194a82252d3cf7c4d4cae0931c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 483 zcmebD)M8k`z`)R8{~*9Zg|kh8VgI4#AJPZd7_|03?EgOd?~ecmmq+Ulb-K)F>OG$P z(L>+^vvSvg84E5@4K%E0*&6*!HDCo3r@s7ty^k6vW!LF2P2FPl+D_}z`*(wr2g%Hka!nV9LVHlWMpFS05a-;h6ysVfX(Cp z@`a#kKz4{CvBf~_|2P0pEdvXKI0Mw2H8U9GKtc>sjI3aT+kmD?L)m>mwhYYRgVX^a hyBvUK@&M^+K=TEFbeb%qUP)#eNQwdEY%l}J0staUza0Po diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index bcffecd35..f644ef887 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -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):