mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 00:43:07 +02:00
Fix SyntaxWarning invalid escape sequence in Python code (#3433)
This commit is contained in:
parent
380c740ff0
commit
b7551cbba6
37 changed files with 156 additions and 156 deletions
|
@ -64,8 +64,8 @@ class TestDue(TestCase):
|
|||
def test_due(self):
|
||||
"""due tasks displayed correctly"""
|
||||
code, out, err = self.t("list")
|
||||
self.assertRegex(out, "\033\[31m.+{0}.+\033\[0m".format(self.just))
|
||||
self.assertRegex(out, "\s+{0}\s+".format(self.almost))
|
||||
self.assertRegex(out, "\033\\[31m.+{0}.+\033\\[0m".format(self.just))
|
||||
self.assertRegex(out, r"\s+{0}\s+".format(self.almost))
|
||||
|
||||
|
||||
class TestBug418(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue