mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Added test
This commit is contained in:
parent
2c4fe7281f
commit
7227b4d01d
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user