mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +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:
|
||||
frames = [im.copy(), Image.new("RGBA", im.size, (255, 0, 0, 255))]
|
||||
im.save(
|
||||
test_file,
|
||||
save_all=True,
|
||||
default_image=True,
|
||||
append_images=frames,
|
||||
test_file, save_all=True, default_image=True, append_images=frames,
|
||||
)
|
||||
with Image.open(test_file) as im:
|
||||
exception = None
|
||||
|
|
|
@ -1123,9 +1123,7 @@ def _write_multiple_frames(im, fp, chunk, rawmode):
|
|||
else:
|
||||
fdat_chunks = _fdat(fp, chunk, seq_num)
|
||||
ImageFile._save(
|
||||
im_frame,
|
||||
fdat_chunks,
|
||||
[("zip", (0, 0) + im_frame.size, 0, rawmode)],
|
||||
im_frame, fdat_chunks, [("zip", (0, 0) + im_frame.size, 0, rawmode)],
|
||||
)
|
||||
seq_num = fdat_chunks.seq_num
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user