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

@ -56,12 +56,12 @@ class TestUDAOrphans(TestCase):
# 'info' should show orphans.
code, out, err = self.t("1 info")
self.assertRegex(out, "\[extra\s+foo\]")
self.assertRegex(out, r"\[extra\s+foo\]")
# 'modify' should not change the orphan
self.t("1 modify /one/two/")
code, out, err = self.t("1 info")
self.assertRegex(out, "\[extra\s+foo\]")
self.assertRegex(out, r"\[extra\s+foo\]")
# 'export' should include orphans.
code, out, err = self.t("1 export")