From b69fd25c25f23a859aefae69a1cc4116896536b8 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Thu, 23 Dec 2021 07:12:26 +0530 Subject: [cleanup] Misc cleanup Closes #1942 #1976 #2020 #2058 #1984 --- test/test_YoutubeDL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_YoutubeDL.py') diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index 39d7e1ec5..ee0e5eca5 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).10F', ('foo \'bar\' ', 'foo \'bar\'#')) test('%(title4)#F', 'foo_bar_test') + test('%(title4).10F', ('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'")) -- cgit v1.2.3