mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +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
|
@ -48,13 +48,13 @@ class TestStatisticsCommand(TestCase):
|
|||
self.t("log three")
|
||||
|
||||
code, out, err = self.t("stats")
|
||||
self.assertRegex(out, "Pending\s+1\n")
|
||||
self.assertRegex(out, "Completed\s+1\n")
|
||||
self.assertRegex(out, "Deleted\s+1\n")
|
||||
self.assertRegex(out, "Total\s+3\n")
|
||||
self.assertRegex(out, "Pending\\s+1\n")
|
||||
self.assertRegex(out, "Completed\\s+1\n")
|
||||
self.assertRegex(out, "Deleted\\s+1\n")
|
||||
self.assertRegex(out, "Total\\s+3\n")
|
||||
|
||||
code, out, err = self.t("stats rc._forcecolor:on")
|
||||
self.assertRegex(out, "Pending\s+1\n")
|
||||
self.assertRegex(out, "Pending\\s+1\n")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue