aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-15 23:20:46 +0700
committerSergey M․ <dstftw@gmail.com>2017-02-15 23:20:46 +0700
commit398dea321001b99ac4ad28d3d60a5317c4a439d7 (patch)
tree95d879c33bc9653be5e5b31200c8d4bc8a64b100 /test
parentdb13c16ef8968613680e2bbc85f373c3e74faf98 (diff)
[test_YoutubeDL] Fix invalid escape sequences
Diffstat (limited to 'test')
-rw-r--r--test/test_YoutubeDL.py4
1 files changed, 2 insertions, 2 deletions
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'