aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2023-12-24 22:09:01 +0100
committerGitHub <noreply@github.com>2023-12-24 22:09:01 +0100
commit00cdda4f6fe18712ced13dbc64b7ea10f323e268 (patch)
tree0102d5f521666e37bd607cf62a68afaa9bf1b0b1 /test
parent116c268438ea4d3738f6fa502c169081ca8f0ee7 (diff)
[core] Fix format selection parse error for CPython 3.12 (#8797)
Authored by: Grub4K
Diffstat (limited to 'test')
-rw-r--r--test/test_YoutubeDL.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index 48c710e00..8bff08314 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -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 = [