mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +03:00
Fix bug in test_idf_rational_save
A boolean wrapped in parentheses is still a boolean, not a tuple. The comma makes this an actual tuple so it can be iterated on in the for loop.
This commit is contained in:
parent
01392fcb2e
commit
711e95e361
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user