Merge pull request #153 from manisandro/tempfile

Add tempfile for test output
This commit is contained in:
Alex Clark ☺ 2013-03-21 18:30:12 -07:00
commit de210a2e21

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)