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

@@ -51,7 +51,7 @@ class TestSpecialTags(TestCase):
def test_nocolor(self):
self.t("add should have no red +nocolor priority:H")
code, out, err = self.t("ls")
self.assertRegexpMatches(out, r"\s1\s+nocolor\s+should have no red")
self.assertRegex(out, r"\s1\s+nocolor\s+should have no red")
def test_nonag(self):
self.t("add should be red +nonag")