Merge pull request #2270 from ChristopherHogan/test_ifd_rational_save

Test: Fix bug in test_ifd_rational_save
This commit is contained in:
wiredfool 2016-12-03 13:38:02 +00:00 committed by GitHub
commit 8a68bd6daa

View File

@ -47,7 +47,7 @@ class Test_IFDRational(PillowTestCase):
def test_ifd_rational_save(self):
methods = (True, False)
if 'libtiff_encoder' not in dir(Image.core):
methods = (False)
methods = (False,)
for libtiff in methods:
TiffImagePlugin.WRITE_LIBTIFF = libtiff