Fix roundtrip

This commit is contained in:
Hugo 2020-03-04 12:33:00 +02:00
parent 2cc6a9a974
commit fbd4ca1ba0

View File

@ -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: