Fixed ValueError in Python 2.6

This commit is contained in:
Andrew Murray 2015-06-29 14:59:05 +10:00
parent efe925c26f
commit 29cb7d24b8

View File

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