From 29cb7d24b80a3db240725d7d7116ee55827322fc Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 29 Jun 2015 14:59:05 +1000 Subject: [PATCH] Fixed ValueError in Python 2.6 --- Tests/test_image_toqpixmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_image_toqpixmap.py b/Tests/test_image_toqpixmap.py index 95db2e8f7..8fabab13d 100644 --- a/Tests/test_image_toqpixmap.py +++ b/Tests/test_image_toqpixmap.py @@ -19,7 +19,7 @@ class TestToQPixmap(PillowQPixmapTestCase, 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)