Skip to content

Commit 5171e8c

Browse files
committed
Merge branch 'alefjnlajenfaef' into windows-tests
2 parents b531d4b + d89f81a commit 5171e8c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

test/test_decoders.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1342,7 +1342,11 @@ def test_custom_frame_mappings_json_and_bytes(
13421342
@pytest.mark.parametrize(
13431343
"custom_frame_mappings,expected_match",
13441344
[
1345-
(NASA_VIDEO.generate_custom_frame_mappings(0), "seek_mode"),
1345+
pytest.param(
1346+
NASA_VIDEO.generate_custom_frame_mappings(0),
1347+
"seek_mode",
1348+
id="valid_content_approximate",
1349+
),
13461350
("{}", "The input is empty or missing the required 'frames' key."),
13471351
(
13481352
'{"valid": "json"}',

test/test_encoders.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,9 @@ def encode_to_tensor(samples):
436436
encoded_from_contiguous, encoded_from_non_contiguous, rtol=0, atol=0
437437
)
438438

439+
@pytest.mark.skip(
440+
reason="Flaky test, see https://github.com/pytorch/torchcodec/issues/724"
441+
)
439442
@pytest.mark.parametrize("num_channels_input", (1, 2))
440443
@pytest.mark.parametrize("num_channels_output", (1, 2, None))
441444
@pytest.mark.parametrize("method", ("to_file", "to_tensor", "to_file_like"))

0 commit comments

Comments
 (0)