Skip to content

Commit f67bca7

Browse files
committed
Linting
1 parent 14045fa commit f67bca7

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

test/decoders/test_video_decoder.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -350,14 +350,6 @@ def test_get_frame_at(self, device, seek_mode):
350350
frame9 = decoder.get_frame_at(numpy.uint32(9))
351351
assert_frames_equal(ref_frame9, frame9.data)
352352

353-
@pytest.mark.parametrize("device", cpu_and_cuda())
354-
@pytest.mark.parametrize("seek_mode", ("exact", "approximate"))
355-
def test_get_frame_at_fails(self, device, seek_mode):
356-
decoder = VideoDecoder(NASA_VIDEO.path, device=device, seek_mode=seek_mode)
357-
358-
with pytest.raises(IndexError, match="out of bounds"):
359-
decoder.get_frame_at(1000) # noqa
360-
361353
@pytest.mark.parametrize("device", cpu_and_cuda())
362354
def test_get_frame_at_tuple_unpacking(self, device):
363355
decoder = VideoDecoder(NASA_VIDEO.path, device=device)

test/decoders/test_video_decoder_ops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ def test_throws_exception_at_eof(self, device):
309309
decoder = create_from_file(str(NASA_VIDEO.path))
310310
add_video_stream(decoder, device=device)
311311

312-
313312
seek_to_pts(decoder, 12.979633)
314313
last_frame, _, _ = get_next_frame(decoder)
315314
reference_last_frame = NASA_VIDEO.get_frame_data_by_index(289)

0 commit comments

Comments
 (0)