diff --git a/Tests/test_file_tiff_small.py b/Tests/test_file_tiff_small.py index 6f00261a3..dbc16435f 100644 --- a/Tests/test_file_tiff_small.py +++ b/Tests/test_file_tiff_small.py @@ -4,6 +4,11 @@ from PIL import Image from test_file_libtiff import _assert_noerr +codecs = dir(Image.core) + +if "group4_encoder" not in codecs or "group4_decoder" not in codecs: + skip("tiff support not available") + """ The small lena image was failing on open in the libtiff decoder because the file pointer was set to the wrong place by a spurious seek. It wasn't failing with the byteio method.