Fix SyntaxWarning invalid escape sequence in Python code (#3433)
This commit is contained in:
@@ -62,8 +62,8 @@ class TestRecurrenceProblems(TestCase):
|
||||
self.t("add foo due:today recur:yearly until:eom")
|
||||
code, out, err = self.t("info 1")
|
||||
|
||||
self.assertNotRegex(out, "Until\s+\d{10}")
|
||||
self.assertRegex(out, "Until\s+\d+\/\d+\/\d{4}")
|
||||
self.assertNotRegex(out, r"Until\s+\d{10}")
|
||||
self.assertRegex(out, r"Until\s+\d+\/\d+\/\d{4}")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user