Skip to content

Commit 1f8e02e

Browse files
authored
test/: fix failing tests due to missing argument (fixup d6ce570) (#741)
1 parent d6ce570 commit 1f8e02e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/test_metadata.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ def test_calculate_num_frames_using_fps_and_duration(
167167
codec="whatever",
168168
width=123,
169169
height=321,
170+
pixel_aspect_ratio=Fraction(10, 11),
170171
average_fps_from_header=average_fps_from_header,
171172
stream_index=0,
172173
)
@@ -198,6 +199,7 @@ def test_duration_seconds_fallback(
198199
codec="whatever",
199200
width=123,
200201
height=321,
202+
pixel_aspect_ratio=Fraction(10, 11),
201203
average_fps_from_header=5,
202204
stream_index=0,
203205
)
@@ -226,6 +228,7 @@ def test_calculate_duration_seconds_using_fps_and_num_frames(
226228
codec="whatever",
227229
width=123,
228230
height=321,
231+
pixel_aspect_ratio=Fraction(10, 11),
229232
average_fps_from_header=average_fps_from_header,
230233
stream_index=0,
231234
)

0 commit comments

Comments
 (0)