Need 'temp_' or 'temp.' in filename

This commit is contained in:
Hugo 2014-08-20 00:36:29 +03:00
parent 74f45d4e12
commit 8922104a09

View File

@ -52,7 +52,7 @@ class TestFileJpeg2k(PillowTestCase):
def test_lossless(self):
im = Image.open('Tests/images/test-card-lossless.jp2')
im.load()
outfile = self.tempfile('test-card.png')
outfile = self.tempfile('temp_test-card.png')
im.save(outfile)
self.assert_image_similar(im, test_card, 1.0e-3)