mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
support_custom_tags attribute is not present if libtiff is not supported
This commit is contained in:
parent
492c726350
commit
c7bb152ed9
|
@ -741,7 +741,7 @@ class TestFileLibTiff(LibTiffTestCase):
|
||||||
pytest.param(
|
pytest.param(
|
||||||
True,
|
True,
|
||||||
marks=pytest.mark.skipif(
|
marks=pytest.mark.skipif(
|
||||||
not Image.core.libtiff_support_custom_tags,
|
not getattr(Image.core, "libtiff_support_custom_tags", False),
|
||||||
reason="Custom tags not supported by older libtiff",
|
reason="Custom tags not supported by older libtiff",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user