Skip to content

Commit 6257e78

Browse files
authored
Update test_file_gif.py
Changed to use a test image already in Images folder
1 parent 416de88 commit 6257e78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/test_file_gif.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ def test_zero_comment_subblocks():
815815

816816
def test_write_comment(tmp_path):
817817
out = str(tmp_path / "temp.gif")
818-
with Image.open("Tests/images/multiple_comments.gif") as im:
818+
with Image.open("Tests/images/dispose_prev.gif") as im:
819819
im.save(out, save_all=True, comment="Test")
820820
with Image.open(out) as reread:
821821
# Comments written should appear only in first frame
@@ -831,7 +831,7 @@ def test_write_comment(tmp_path):
831831

832832
def test_write_no_comment(tmp_path):
833833
out = str(tmp_path / "temp.gif")
834-
with Image.open("Tests/images/multiple_comments.gif") as im:
834+
with Image.open("Tests/images/dispose_prev.gif") as im:
835835
# Empty comment="" arg should suppress all comments
836836
im.save(out, save_all=True, comment="")
837837
with Image.open(out) as reread:

0 commit comments

Comments
 (0)