diff --git a/test/test_ops.py b/test/test_ops.py index 627829689..0d33b4ff6 100644 --- a/test/test_ops.py +++ b/test/test_ops.py @@ -1407,6 +1407,8 @@ def test_video_encoder_against_ffmpeg_cli(self, tmp_path, format): def test_to_file_like_custom_file_object(self): """Test with a custom file-like object that implements write and seek.""" + if get_ffmpeg_major_version() == 6: + pytest.skip("Skipping round trip encoding test on FFmpeg 6") class CustomFileObject: def __init__(self): @@ -1437,6 +1439,8 @@ def get_encoded_data(self): def test_to_file_like_real_file(self, tmp_path): """Test to_file_like with a real file opened in binary write mode.""" + if get_ffmpeg_major_version() == 6: + pytest.skip("Skipping round trip encoding test on FFmpeg 6") source_frames = self.decode(TEST_SRC_2_720P.path).data file_path = tmp_path / "test_file_like.mp4"