projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[test_YoutubeDL] Fix invalid escape sequences
[youtube-dl]
/
test
/
test_YoutubeDL.py
diff --git
a/test/test_YoutubeDL.py
b/test/test_YoutubeDL.py
index d07c35be88af776321680f4ece53374ec1f26c49..2cfcf743a5f6d878187eee741242807661525d4c 100644
(file)
--- 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,
self.assertEqual(ydl._format_note({}), '')
assertRegexpMatches(self, ydl._format_note({
'vbr': 10,
- }), '^\s*10k$')
+ }),
r
'^\s*10k$')
assertRegexpMatches(self, ydl._format_note({
'fps': 30,
assertRegexpMatches(self, ydl._format_note({
'fps': 30,
- }), '^30fps$')
+ }),
r
'^30fps$')
def test_postprocessors(self):
filename = 'post-processor-testfile.mp4'
def test_postprocessors(self):
filename = 'post-processor-testfile.mp4'