mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
cleanup temp file
This commit is contained in:
parent
6bd51e053b
commit
c82bfd30cf
|
@ -133,7 +133,7 @@ def test_little_endian():
|
|||
|
||||
|
||||
out = tempfile("temp.tif")
|
||||
out = "temp.le.tif"
|
||||
#out = "temp.le.tif"
|
||||
im.save(out)
|
||||
reread = Image.open(out)
|
||||
|
||||
|
@ -224,8 +224,8 @@ def test_compressions():
|
|||
im = lena('RGB')
|
||||
out = tempfile('temp.tif')
|
||||
|
||||
#TiffImagePlugin.READ_LIBTIFF = True
|
||||
#TiffImagePlugin.WRITE_LIBTIFF = True
|
||||
TiffImagePlugin.READ_LIBTIFF = True
|
||||
TiffImagePlugin.WRITE_LIBTIFF = True
|
||||
|
||||
for compression in ('packbits', 'tiff_lzw'):
|
||||
im.save(out, compression=compression)
|
||||
|
|
Loading…
Reference in New Issue
Block a user