mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Fix roundtrip
This commit is contained in:
parent
2cc6a9a974
commit
fbd4ca1ba0
|
@ -517,12 +517,12 @@ class TestFileTiff:
|
|||
im = hopper(mode)
|
||||
im.save(outfile)
|
||||
|
||||
for mode in ["P", "PA"]:
|
||||
roundtrip(mode)
|
||||
|
||||
with Image.open(outfile) as reloaded:
|
||||
assert_image_equal(im.convert("RGB"), reloaded.convert("RGB"))
|
||||
|
||||
for mode in ["P", "PA"]:
|
||||
roundtrip(mode)
|
||||
|
||||
def test_tiff_save_all(self):
|
||||
mp = BytesIO()
|
||||
with Image.open("Tests/images/multipage.tiff") as im:
|
||||
|
|
Loading…
Reference in New Issue
Block a user