mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Merge pull request #1316 from radarhere/patch-1
Fixed ValueError in Python 2.6
This commit is contained in:
commit
06a2f4bf76
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user