]> jfr.im git - yt-dlp.git/blobdiff - test/test_postprocessors.py
Merge branch 'ard.py_add_playlist_support' of https://github.com/martin54/youtube...
[yt-dlp.git] / test / test_postprocessors.py
index addb69d6fa205f00f50a9a733d40d4a2ea928155..6f538a3da0f823361f86e84f502e58f25540594e 100644 (file)
@@ -8,10 +8,10 @@
 import unittest
 sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 
-from youtube_dl.postprocessor import MetadataFromTitlePP
+from youtube_dlc.postprocessor import MetadataFromTitlePP
 
 
 class TestMetadataFromTitle(unittest.TestCase):
     def test_format_to_regex(self):
         pp = MetadataFromTitlePP(None, '%(title)s - %(artist)s')
-        self.assertEqual(pp._titleregex, '(?P<title>.+)\ \-\ (?P<artist>.+)')
+        self.assertEqual(pp._titleregex, r'(?P<title>.+)\ \-\ (?P<artist>.+)')