X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Fhelper.py;h=b7299fb82c2e541fc520ba11c5c52d9edcc972e3;hb=3e510af38d795aa3de2a86af5320f91656a7833b;hp=84b16f770edb3a41512504bee614ea158f4fcd4f;hpb=7dabd2ac45a53bc608390a72c2d43044aaf6efb8;p=youtube-dl diff --git a/test/helper.py b/test/helper.py index 84b16f770..b7299fb82 100644 --- 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, 'assertRegexpMatches'): - return self.assertRegexpMatches(text, regexp, msg) + if hasattr(self, 'assertRegexp'): + return self.assertRegexp(text, regexp, msg) else: m = re.match(regexp, text) if not m: