From 39efd23d06a6fa8868b242e305e9ecdbebc4fd08 Mon Sep 17 00:00:00 2001 From: J0J0 T Date: Sun, 28 Aug 2022 19:37:10 +0200 Subject: [PATCH] convert: playlist: Fix winpath driveletter in test Needs to be put including (double) backslash! --- test/test_m3ufile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_m3ufile.py b/test/test_m3ufile.py index 976c40508..c5b7f49ec 100644 --- a/test/test_m3ufile.py +++ b/test/test_m3ufile.py @@ -83,7 +83,7 @@ class M3UFileTest(unittest.TestCase): def test_playlist_load_unicode_windows(self): """Test loading unicode paths from a playlist file.""" the_playlist_file = path.join(RSRC, b'playlist_windows.m3u8') - winpath = path.join('x:', 'This', 'is', 'å', 'path', 'to_a_file.mp3') + winpath = path.join('x:\\', 'This', 'is', 'å', 'path', 'to_a_file.mp3') print("this is winpath:") print(winpath) m3ufile = M3UFile(the_playlist_file)