tests: Use updated unittest method

This commit is contained in:
Tomas Babej 2020-11-20 23:59:56 -05:00 committed by Paul Beckingham
parent 407d66d681
commit 02db131fa1
50 changed files with 315 additions and 315 deletions

View file

@ -147,7 +147,7 @@ class TestBug1319(TestCase):
self.t("add four when:morning")
code, out, err = self.t("rc.verbose:nothing foo")
self.assertRegexpMatches(out, "4\s+morning\s+four\s+3\s+noon\s+three\s+2\s+evening\s+two\s+1\s+night\s+one")
self.assertRegex(out, "4\s+morning\s+four\s+3\s+noon\s+three\s+2\s+evening\s+two\s+1\s+night\s+one")
if __name__ == "__main__":