Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/test_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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"

Expand Down
Loading