From: Philipp Hagemeister Date: Tue, 22 Jul 2014 23:43:46 +0000 (+0200) Subject: [test/helper] Do not use deprecated method X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=0fd7fd71b4570c274452a59e570cb5b484a0be2f;p=youtube-dl [test/helper] Do not use deprecated method --- 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: