mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
tests: Use updated unittest method
This commit is contained in:
parent
407d66d681
commit
02db131fa1
50 changed files with 315 additions and 315 deletions
|
@ -71,9 +71,9 @@ class TestUtf8(TestCase):
|
|||
code, out, err = self.t("ls")
|
||||
|
||||
expected = re.compile("\S\s{4}abc", re.MULTILINE)
|
||||
self.assertRegexpMatches(out, expected)
|
||||
self.assertRegex(out, expected)
|
||||
expected = re.compile("\S\s{5}def", re.MULTILINE)
|
||||
self.assertRegexpMatches(out, expected)
|
||||
self.assertRegex(out, expected)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue