From 711e95e3612b7feb1dceae5d6bf776d136304063 Mon Sep 17 00:00:00 2001 From: Chris Hogan Date: Thu, 1 Dec 2016 11:10:03 -0600 Subject: [PATCH] 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. --- Tests/test_tiff_ifdrational.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_tiff_ifdrational.py b/Tests/test_tiff_ifdrational.py index 7e2c908b5..ffd4f9eac 100644 --- a/Tests/test_tiff_ifdrational.py +++ b/Tests/test_tiff_ifdrational.py @@ -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