mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +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 = tempfile("temp.tif")
|
||||||
out = "temp.le.tif"
|
#out = "temp.le.tif"
|
||||||
im.save(out)
|
im.save(out)
|
||||||
reread = Image.open(out)
|
reread = Image.open(out)
|
||||||
|
|
||||||
|
@ -224,8 +224,8 @@ def test_compressions():
|
||||||
im = lena('RGB')
|
im = lena('RGB')
|
||||||
out = tempfile('temp.tif')
|
out = tempfile('temp.tif')
|
||||||
|
|
||||||
#TiffImagePlugin.READ_LIBTIFF = True
|
TiffImagePlugin.READ_LIBTIFF = True
|
||||||
#TiffImagePlugin.WRITE_LIBTIFF = True
|
TiffImagePlugin.WRITE_LIBTIFF = True
|
||||||
|
|
||||||
for compression in ('packbits', 'tiff_lzw'):
|
for compression in ('packbits', 'tiff_lzw'):
|
||||||
im.save(out, compression=compression)
|
im.save(out, compression=compression)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user