1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-06-30 11:02:54 -05:00

[core] Fix format selection parse error for CPython 3.12 (#8797)

Authored by: Grub4K
This commit is contained in:
Simon Sawicki
2023-12-24 22:09:01 +01:00
committed by GitHub
parent 116c268438
commit 00cdda4f6f
2 changed files with 11 additions and 2 deletions

View File

@ -140,6 +140,8 @@ class TestFormatSelection(unittest.TestCase):
test('example-with-dashes', 'example-with-dashes')
test('all', '2', '47', '45', 'example-with-dashes', '35')
test('mergeall', '2+47+45+example-with-dashes+35', multi=True)
# See: https://github.com/yt-dlp/yt-dlp/pulls/8797
test('7_a/worst', '35')
def test_format_selection_audio(self):
formats = [