mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[tests] Fix invalid escape sequences
This commit is contained in:
		| @@ -14,4 +14,4 @@ from youtube_dl.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>.+)') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user