mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Merge pull request #2270 from ChristopherHogan/test_ifd_rational_save
Test: Fix bug in test_ifd_rational_save
This commit is contained in:
commit
8a68bd6daa
|
@ -47,7 +47,7 @@ class Test_IFDRational(PillowTestCase):
|
||||||
def test_ifd_rational_save(self):
|
def test_ifd_rational_save(self):
|
||||||
methods = (True, False)
|
methods = (True, False)
|
||||||
if 'libtiff_encoder' not in dir(Image.core):
|
if 'libtiff_encoder' not in dir(Image.core):
|
||||||
methods = (False)
|
methods = (False,)
|
||||||
|
|
||||||
for libtiff in methods:
|
for libtiff in methods:
|
||||||
TiffImagePlugin.WRITE_LIBTIFF = libtiff
|
TiffImagePlugin.WRITE_LIBTIFF = libtiff
|
||||||
|
|
Loading…
Reference in New Issue
Block a user