From d2c9ee14ad5eaefa5085f84458d16611d48d42b9 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sun, 21 Apr 2013 13:52:04 -0700 Subject: [PATCH] skipp these test is libtiff support is not included --- Tests/test_file_tiff_small.py | 5 +++++ 1 file changed, 5 insertions(+) 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.