Commit f47b20f0 authored by Georg Brandl's avatar Georg Brandl

Fix use of deprecated assertRegexpMatches method.

parent 61470246
......@@ -230,7 +230,7 @@ from __future__ import print_function"""
os.sep, os.path.basename(test_file))
for message in debug_messages:
if "Not writing changes" in message:
self.assertRegexpMatches(message, message_regex)
self.assertRegex(message, message_regex)
break
else:
self.fail("%r not matched in %r" % (message_regex, debug_messages))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment