We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d9095 commit 416de88Copy full SHA for 416de88
Tests/test_file_gif.py
@@ -821,8 +821,12 @@ def test_write_comment(tmp_path):
821
# Comments written should appear only in first frame
822
assert reread.info["comment"] == b"Test"
823
for i, frame in enumerate(ImageSequence.Iterator(reread)):
824
- assert (i == 0 and frame.info["comment"] == b"Test" or
825
- i != 0 and "comment" not in frame.info)
+ assert (
+ i == 0
826
+ and frame.info["comment"] == b"Test"
827
+ or i != 0
828
+ and "comment" not in frame.info
829
+ )
830
831
832
def test_write_no_comment(tmp_path):
0 commit comments