projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eae12e3
)
[test/helper] Do not use deprecated method
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 22 Jul 2014 23:43:46 +0000
(
01:43
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 22 Jul 2014 23:43:46 +0000
(
01:43
+0200)
test/helper.py
patch
|
blob
|
history
diff --git
a/test/helper.py
b/test/helper.py
index 84b16f770edb3a41512504bee614ea158f4fcd4f..b7299fb82c2e541fc520ba11c5c52d9edcc972e3 100644
(file)
--- a/
test/helper.py
+++ b/
test/helper.py
@@
-137,8
+137,8
@@
def expect_info_dict(self, expected_dict, got_dict):
def assertRegexpMatches(self, text, regexp, msg=None):
- if hasattr(self, 'assertRegexp
Matches
'):
- return self.assertRegexp
Matches
(text, regexp, msg)
+ if hasattr(self, 'assertRegexp'):
+ return self.assertRegexp(text, regexp, msg)
else:
m = re.match(regexp, text)
if not m: