convert: playlist: Fix winpath driveletter in test

Needs to be put including (double) backslash!
This commit is contained in:
J0J0 T 2022-08-28 19:37:10 +02:00 committed by J0J0 Todos
parent a641fd151e
commit 39efd23d06

View file

@ -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)