Added test

This commit is contained in:
Andrew Murray 2015-06-30 18:07:23 +10:00
parent 2c4fe7281f
commit 7227b4d01d

View File

@ -71,6 +71,14 @@ class TestFileGif(PillowTestCase):
self.assert_image_similar(reread.convert('RGB'), hopper(), 50)
def test_roundtrip_save_all(self):
out = self.tempfile('temp.gif')
im = hopper()
im.save(out, save_all=True)
reread = Image.open(out)
self.assert_image_similar(reread.convert('RGB'), im, 50)
def test_palette_handling(self):
# see https://github.com/python-pillow/Pillow/issues/513