From 6257e788adac28f004313816b7a15b677754947b Mon Sep 17 00:00:00 2001 From: Ray Gardner Date: Sat, 14 May 2022 11:57:41 -0600 Subject: [PATCH] Update test_file_gif.py Changed to use a test image already in Images folder --- Tests/test_file_gif.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/test_file_gif.py b/Tests/test_file_gif.py index eee432116..762dab8df 100644 --- a/Tests/test_file_gif.py +++ b/Tests/test_file_gif.py @@ -815,7 +815,7 @@ def test_zero_comment_subblocks(): def test_write_comment(tmp_path): out = str(tmp_path / "temp.gif") - with Image.open("Tests/images/multiple_comments.gif") as im: + with Image.open("Tests/images/dispose_prev.gif") as im: im.save(out, save_all=True, comment="Test") with Image.open(out) as reread: # Comments written should appear only in first frame @@ -831,7 +831,7 @@ def test_write_comment(tmp_path): def test_write_no_comment(tmp_path): out = str(tmp_path / "temp.gif") - with Image.open("Tests/images/multiple_comments.gif") as im: + with Image.open("Tests/images/dispose_prev.gif") as im: # Empty comment="" arg should suppress all comments im.save(out, save_all=True, comment="") with Image.open(out) as reread: