Fix SyntaxWarning invalid escape sequence in Python code (#3433)

This commit is contained in:
Christian Clauss 2024-05-03 02:22:33 +02:00 committed by GitHub
parent 380c740ff0
commit b7551cbba6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 156 additions and 156 deletions

View file

@ -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__":