mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 18:06:42 +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
|
@ -72,7 +72,7 @@ class TestBugNumber(TestCase):
|
|||
"""Copyright is current"""
|
||||
code, out, err = self.t("version")
|
||||
|
||||
expected = "Copyright \(C\) \d{4} - %d" % (datetime.now().year,)
|
||||
expected = r"Copyright \(C\) \d{4} - %d" % (datetime.now().year,)
|
||||
self.assertRegex(out.decode("utf8"), expected)
|
||||
|
||||
# TAP diagnostics on the bas
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue