Skip to content

Commit 416de88

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 22d9095 commit 416de88

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Tests/test_file_gif.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,12 @@ def test_write_comment(tmp_path):
821821
# Comments written should appear only in first frame
822822
assert reread.info["comment"] == b"Test"
823823
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)
824+
assert (
825+
i == 0
826+
and frame.info["comment"] == b"Test"
827+
or i != 0
828+
and "comment" not in frame.info
829+
)
826830

827831

828832
def test_write_no_comment(tmp_path):

0 commit comments

Comments
 (0)