Add tempfile for test output

This commit is contained in:
Sandro Mani 2013-03-22 01:58:19 +01:00
parent 2e888483a6
commit e3cb3074ce

View File

@ -126,7 +126,7 @@ def test_g4_write():
file = "Tests/images/lena_g4_500.tif"
orig = Image.open(file)
out = "temp.tif"
out = tempfile("temp.tif")
rot = orig.transpose(Image.ROTATE_90)
assert_equal(rot.size,(500,500))
rot.save(out)