Skip to content

Commit b06d252

Browse files
author
Dan-Flores
committed
add pytest skip
1 parent 75a3325 commit b06d252

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_ops.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,6 +1407,8 @@ def test_video_encoder_against_ffmpeg_cli(self, tmp_path, format):
14071407

14081408
def test_to_file_like_custom_file_object(self):
14091409
"""Test with a custom file-like object that implements write and seek."""
1410+
if get_ffmpeg_major_version() == 6:
1411+
pytest.skip("Skipping round trip encoding test on FFmpeg 6")
14101412

14111413
class CustomFileObject:
14121414
def __init__(self):
@@ -1437,6 +1439,8 @@ def get_encoded_data(self):
14371439

14381440
def test_to_file_like_real_file(self, tmp_path):
14391441
"""Test to_file_like with a real file opened in binary write mode."""
1442+
if get_ffmpeg_major_version() == 6:
1443+
pytest.skip("Skipping round trip encoding test on FFmpeg 6")
14401444
source_frames = self.decode(TEST_SRC_2_720P.path).data
14411445
file_path = tmp_path / "test_file_like.mp4"
14421446

0 commit comments

Comments
 (0)