mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 10:46:16 +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"
|
file = "Tests/images/lena_g4_500.tif"
|
||||||
orig = Image.open(file)
|
orig = Image.open(file)
|
||||||
|
|
||||||
out = "temp.tif"
|
out = tempfile("temp.tif")
|
||||||
rot = orig.transpose(Image.ROTATE_90)
|
rot = orig.transpose(Image.ROTATE_90)
|
||||||
assert_equal(rot.size,(500,500))
|
assert_equal(rot.size,(500,500))
|
||||||
rot.save(out)
|
rot.save(out)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user