mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Add tempfile for test output
This commit is contained in:
parent
2e888483a6
commit
e3cb3074ce
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user