From: Sergey M․ Date: Wed, 15 Feb 2017 16:20:46 +0000 (+0700) Subject: [test_YoutubeDL] Fix invalid escape sequences X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=398dea321001b99ac4ad28d3d60a5317c4a439d7;p=youtube-dl [test_YoutubeDL] Fix invalid escape sequences --- diff --git a/test/test_YoutubeDL.py b/test/test_YoutubeDL.py index d07c35be8..2cfcf743a 100644 --- a/test/test_YoutubeDL.py +++ b/test/test_YoutubeDL.py @@ -541,10 +541,10 @@ class TestYoutubeDL(unittest.TestCase): self.assertEqual(ydl._format_note({}), '') assertRegexpMatches(self, ydl._format_note({ 'vbr': 10, - }), '^\s*10k$') + }), r'^\s*10k$') assertRegexpMatches(self, ydl._format_note({ 'fps': 30, - }), '^30fps$') + }), r'^30fps$') def test_postprocessors(self): filename = 'post-processor-testfile.mp4'