mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
skipp these test is libtiff support is not included
This commit is contained in:
parent
945b6bf53c
commit
d2c9ee14ad
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user