mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Fix lint errors
This commit is contained in:
		
							parent
							
								
									9f4716ff30
								
							
						
					
					
						commit
						00fcc53a1d
					
				| 
						 | 
					@ -957,10 +957,7 @@ class TestFilePng(PillowTestCase):
 | 
				
			||||||
        with Image.open("Tests/images/old-style-jpeg-compression.png") as im:
 | 
					        with Image.open("Tests/images/old-style-jpeg-compression.png") as im:
 | 
				
			||||||
            frames = [im.copy(), Image.new("RGBA", im.size, (255, 0, 0, 255))]
 | 
					            frames = [im.copy(), Image.new("RGBA", im.size, (255, 0, 0, 255))]
 | 
				
			||||||
            im.save(
 | 
					            im.save(
 | 
				
			||||||
                test_file,
 | 
					                test_file, save_all=True, default_image=True, append_images=frames,
 | 
				
			||||||
                save_all=True,
 | 
					 | 
				
			||||||
                default_image=True,
 | 
					 | 
				
			||||||
                append_images=frames,
 | 
					 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
        with Image.open(test_file) as im:
 | 
					        with Image.open(test_file) as im:
 | 
				
			||||||
            exception = None
 | 
					            exception = None
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1123,9 +1123,7 @@ def _write_multiple_frames(im, fp, chunk, rawmode):
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            fdat_chunks = _fdat(fp, chunk, seq_num)
 | 
					            fdat_chunks = _fdat(fp, chunk, seq_num)
 | 
				
			||||||
            ImageFile._save(
 | 
					            ImageFile._save(
 | 
				
			||||||
                im_frame,
 | 
					                im_frame, fdat_chunks, [("zip", (0, 0) + im_frame.size, 0, rawmode)],
 | 
				
			||||||
                fdat_chunks,
 | 
					 | 
				
			||||||
                [("zip", (0, 0) + im_frame.size, 0, rawmode)],
 | 
					 | 
				
			||||||
            )
 | 
					            )
 | 
				
			||||||
            seq_num = fdat_chunks.seq_num
 | 
					            seq_num = fdat_chunks.seq_num
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user