Merge eeaa83398ba1d4e5b470196f7d4c7ca4ba9e8ddf into df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6

This commit is contained in:
Emily 2024-08-04 00:07:10 +00:00 committed by GitHub
commit 0ee10a6e5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -746,7 +746,8 @@ def test_pipe():
def test__probe():
data = ffmpeg.probe(TEST_INPUT_FILE1)
assert set(data.keys()) == {'format', 'streams'}
assert data['format']['duration'] == '7.036000'
assert data['format']['duration'][:4] == '7.03'
assert len(data['format']['duration']) == 8
@pytest.mark.skipif(sys.version_info < (3, 3), reason='requires python3.3 or higher')