@@ -1139,7 +1139,6 @@ def test_pts_to_dts_fallback(self, seek_mode):
11391139 with pytest .raises (AssertionError , match = "not equal" ):
11401140 torch .testing .assert_close (decoder [0 ], decoder [10 ])
11411141
1142-
11431142 @pytest .mark .parametrize ("device" , cpu_and_cuda ())
11441143 def test_var_fps_single_frame (self , device ):
11451144 # We are explicitly only testing exact mode because we know approximate
@@ -1159,7 +1158,6 @@ def test_var_fps_single_frame(self, device):
11591158 assert_frames_equal (frame_150 , ref_frame_150 )
11601159 assert_frames_equal (frame_299 , ref_frame_299 )
11611160
1162-
11631161 @pytest .mark .parametrize ("device" , cpu_and_cuda ())
11641162 def test_var_fps_range (self , device ):
11651163 # We are explicitly only testing exact mode because we know approximate
@@ -1169,11 +1167,13 @@ def test_var_fps_range(self, device):
11691167 frames150_159 = decoder .get_frames_in_range (start = 150 , stop = 160 )
11701168
11711169 ref_frames150_159 = VAR_FPS_VIDEO .get_frame_data_by_range (
1172- start = 150 , stop = 160 ,
1170+ start = 150 ,
1171+ stop = 160 ,
11731172 ).to (device )
11741173
11751174 assert_frames_equal (ref_frames150_159 , frames150_159 .data )
11761175
1176+
11771177class TestAudioDecoder :
11781178 @pytest .mark .parametrize ("asset" , (NASA_AUDIO , NASA_AUDIO_MP3 , SINE_MONO_S32 ))
11791179 def test_metadata (self , asset ):
0 commit comments