aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-06-09 19:47:50 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-06-09 20:01:57 +0530
commit385a27fad18e64ded70cfe0e14044d9b5038ec99 (patch)
treeb444bf8f94ef5c69f79af0dcc4e9d934a24eb6a8 /test/test_YoutubeDL.py
parent5c6542ce69b3ad7acb08ae26d371273f15c72413 (diff)
downloadhypervideo-pre-385a27fad18e64ded70cfe0e14044d9b5038ec99.tar.lz
hypervideo-pre-385a27fad18e64ded70cfe0e14044d9b5038ec99.tar.xz
hypervideo-pre-385a27fad18e64ded70cfe0e14044d9b5038ec99.zip
Improve offset parsing in outtmpl
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index e6508b889..0ffcaed91 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -752,6 +752,7 @@ class TestYoutubeDL(unittest.TestCase):
test('%(formats.3)s', 'NA')
test('%(formats.:2:-1)r', repr(FORMATS[:2:-1]))
test('%(formats.0.id.-1+id)f', '1235.000000')
+ test('%(formats.0.id.-1+formats.1.id.-1)d', '3')
# Empty filename
test('%(foo|)s-%(bar|)s.%(ext)s', '-.mp4')