Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Andrew Murray 2025-06-28 01:20:02 +10:00 committed by GitHub
parent bcc6e42bf8
commit 41129ce1cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)