mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +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)
 | 
					        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):
 | 
					    def test_palette_handling(self):
 | 
				
			||||||
        # see https://github.com/python-pillow/Pillow/issues/513
 | 
					        # see https://github.com/python-pillow/Pillow/issues/513
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user