mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +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
|
@ -127,7 +127,7 @@ class TestColorRules(TestCase):
|
|||
"""Overdue color rule from an hour ago."""
|
||||
code, out, err = self.t('/anhourago/ info')
|
||||
# Match 4-bit or 8-bit blue color code
|
||||
self.assertRegex(out, '\x1b\[(38;5;4|34)m')
|
||||
self.assertRegex(out, '\x1b\\[(38;5;4|34)m')
|
||||
|
||||
def test_due_tomorrow(self):
|
||||
"""Due tomorrow color rule."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue