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
|
@ -44,19 +44,19 @@ class TestUpgrade(TestCase):
|
|||
self.t("add one")
|
||||
|
||||
code, out, err = self.t("1 info")
|
||||
self.assertRegex(out, "Status\s+Pending")
|
||||
self.assertRegex(out, r"Status\s+Pending")
|
||||
|
||||
self.t("1 modify due:tomorrow recur:weekly")
|
||||
self.t("list")
|
||||
|
||||
code, out, err = self.t("1 info")
|
||||
self.assertRegex(out, "Status\s+Recurring")
|
||||
self.assertRegex(out, "Recurrence\s+weekly")
|
||||
self.assertRegex(out, r"Status\s+Recurring")
|
||||
self.assertRegex(out, r"Recurrence\s+weekly")
|
||||
|
||||
# Also check for the presence of a children task with pending state
|
||||
code, out, err = self.t("2 info")
|
||||
self.assertRegex(out, "Status\s+Pending")
|
||||
self.assertRegex(out, "Recurrence\s+weekly")
|
||||
self.assertRegex(out, r"Status\s+Pending")
|
||||
self.assertRegex(out, r"Recurrence\s+weekly")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue