From 3dd3c4e28ca32ddbfd3e20dd277824b104a9550b Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Sun, 28 Jun 2015 20:50:17 -0700 Subject: [PATCH] TST: fix ValueError on Python 2.6 --- Tests/test_image_toqimage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image_toqimage.py b/Tests/test_image_toqimage.py index 38b83c023..6c79b4c6d 100644 --- a/Tests/test_image_toqimage.py +++ b/Tests/test_image_toqimage.py @@ -19,7 +19,7 @@ class TestToQImage(PillowQtTestCase, PillowTestCase): self.assertFalse(data.isNull()) # Test saving the file - tempfile = self.tempfile('temp_{}.png'.format(mode)) + tempfile = self.tempfile('temp_{0}.png'.format(mode)) data.save(tempfile)