diff options
| author | Philipp Hagemeister <phihag@phihag.de> | 2014-07-23 01:43:46 +0200 | 
|---|---|---|
| committer | Philipp Hagemeister <phihag@phihag.de> | 2014-07-23 01:43:46 +0200 | 
| commit | 0fd7fd71b4570c274452a59e570cb5b484a0be2f (patch) | |
| tree | d3acee45191368ec6b76cdcbe7497c625ec6b033 | |
| parent | eae12e3fe3f7288d9133b85d00e694575f6674fc (diff) | |
[test/helper] Do not use deprecated method
| -rw-r--r-- | test/helper.py | 4 | 
1 files changed, 2 insertions, 2 deletions
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:  | 
