Skip to content

Commit

Permalink
Replace deprecated assertRegexpMatches call
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 30, 2017
1 parent af0d68b commit 79bf17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/tests/AlgorithmsTestBase.py
Expand Up @@ -255,7 +255,7 @@ def check_results(self, results, params, expected):
data = file.read()

for rule in expected_result.get('rules', []):
self.assertRegexpMatches(data, rule)
self.assertRegex(data, rule)


if __name__ == '__main__':
Expand Down

0 comments on commit 79bf17a

Please sign in to comment.