mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Replace assertRegexpMatches
with assertRegex
- #259 Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
parent
9dd8257cc0
commit
34a152c794
8 changed files with 44 additions and 44 deletions
|
@ -43,7 +43,7 @@ class TestVersion(TestCase):
|
|||
def test_version_option(self):
|
||||
"""Verify that 'timew --version' returns something valid"""
|
||||
code, out, err = self.t("--version")
|
||||
self.assertRegexpMatches(out, r'^\d\.\d+\.\d+(\.\w+)?$')
|
||||
self.assertRegex(out, r'^\d\.\d+\.\d+(\.\w+)?$')
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue