TST: fix ValueError on Python 2.6

This commit is contained in:
Christoph Gohlke 2015-06-28 20:50:17 -07:00
parent efe925c26f
commit 3dd3c4e28c

View File

@ -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)