Skip to content

Commit b13b5db

Browse files
author
Daniel Flores
committed
replace in with ==
1 parent 4cc2eb3 commit b13b5db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1486,7 +1486,7 @@ def test_video_encoder_against_ffmpeg_cli(self, tmp_path, format):
14861486
# If FFmpeg selects a codec or pixel format that uses qscale (not crf),
14871487
# the VideoEncoder outputs *slightly* different frames.
14881488
# There may be additional subtle differences in the encoder.
1489-
percentage = 94 if ffmpeg_version == 6 or format in ("avi") else 99
1489+
percentage = 94 if ffmpeg_version == 6 or format == "avi" else 99
14901490

14911491
# Check that PSNR between both encoded versions is high
14921492
for ff_frame, enc_frame in zip(ffmpeg_frames, encoder_frames):

0 commit comments

Comments
 (0)