aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_YoutubeDL.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-12-23 09:03:46 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-12-23 09:15:05 +0530
commit37893bb0c9afdeead29e3707d2dfb67596f03897 (patch)
treea3c53f868c3f23c33b55418c40b34fd41141553d /test/test_YoutubeDL.py
parentc25de59cf7ca690ba452f98a1438c38ec24a44e3 (diff)
downloadhypervideo-pre-37893bb0c9afdeead29e3707d2dfb67596f03897.tar.lz
hypervideo-pre-37893bb0c9afdeead29e3707d2dfb67596f03897.tar.xz
hypervideo-pre-37893bb0c9afdeead29e3707d2dfb67596f03897.zip
[outtmpl] Change filename sanitization type to `S`
`F` is already used for float! Bug in e0fd95737d1a3c4a2bfb470c5408a396c8545ca5
Diffstat (limited to 'test/test_YoutubeDL.py')
-rw-r--r--test/test_YoutubeDL.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py
index ee0e5eca5..61923513e 100644
--- a/test/test_YoutubeDL.py
+++ b/test/test_YoutubeDL.py
@@ -780,8 +780,8 @@ class TestYoutubeDL(unittest.TestCase):
test('%(title5)+#U', 'a\u0301e\u0301i\u0301 A')
test('%(height)D', '1K')
test('%(height)5.2D', ' 1.08K')
- test('%(title4)#F', 'foo_bar_test')
- test('%(title4).10F', ('foo \'bar\' ', 'foo \'bar\'' + ('#' if compat_os_name == 'nt' else ' ')))
+ test('%(title4)#S', 'foo_bar_test')
+ test('%(title4).10S', ('foo \'bar\' ', 'foo \'bar\'' + ('#' if compat_os_name == 'nt' else ' ')))
if compat_os_name == 'nt':
test('%(title4)q', ('"foo \\"bar\\" test"', "'foo _'bar_' test'"))
test('%(formats.:.id)#q', ('"id 1" "id 2" "id 3"', "'id 1' 'id 2' 'id 3'"))