mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Use list
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
parent
bcc6e42bf8
commit
41129ce1cb
|
@ -294,7 +294,7 @@ def test_save_all() -> None:
|
||||||
|
|
||||||
im = Image.new("RGB", (1, 1))
|
im = Image.new("RGB", (1, 1))
|
||||||
for colors in (("#f00",), ("#f00", "#0f0")):
|
for colors in (("#f00",), ("#f00", "#0f0")):
|
||||||
append_images = (Image.new("RGB", (1, 1), color) for color in colors)
|
append_images = [Image.new("RGB", (1, 1), color) for color in colors]
|
||||||
im_reloaded = roundtrip(im, save_all=True, append_images=append_images)
|
im_reloaded = roundtrip(im, save_all=True, append_images=append_images)
|
||||||
|
|
||||||
assert_image_equal(im, im_reloaded)
|
assert_image_equal(im, im_reloaded)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user