mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #1315 from cgohlke/patch-1
TST: fix ValueError on Python 2.6
This commit is contained in:
commit
bcf93b6d3e
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user