Skip to content

Commit d74e8d0

Browse files
committed
Mark slow tests
1 parent b9cf8d1 commit d74e8d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_ops.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,6 +1384,7 @@ def decode(self, file_path) -> torch.Tensor:
13841384
frames, *_ = get_frames_in_range(decoder, start=0, stop=60)
13851385
return frames
13861386

1387+
@pytest.mark.slow
13871388
@pytest.mark.parametrize("format", ("mov", "mp4", "mkv", "webm"))
13881389
def test_video_encoder_round_trip(self, tmp_path, format):
13891390
# Test that decode(encode(decode(asset))) == decode(asset)
@@ -1422,6 +1423,7 @@ def test_video_encoder_round_trip(self, tmp_path, format):
14221423
assert psnr(s_frame, rt_frame) > 30
14231424
assert_close(s_frame, rt_frame, atol=atol, rtol=0)
14241425

1426+
@pytest.mark.slow
14251427
@pytest.mark.skipif(in_fbcode(), reason="ffmpeg CLI not available")
14261428
@pytest.mark.parametrize(
14271429
"format", ("mov", "mp4", "avi", "mkv", "webm", "flv", "gif")

0 commit comments

Comments
 (0)