Fix SyntaxWarning invalid escape sequence in Python code (#3433)
This commit is contained in:
@@ -147,7 +147,7 @@ class TestBug1319(TestCase):
|
||||
self.t("add four when:morning")
|
||||
|
||||
code, out, err = self.t("rc.verbose:nothing foo")
|
||||
self.assertRegex(out, "4\s+morning\s+four\s+3\s+noon\s+three\s+2\s+evening\s+two\s+1\s+night\s+one")
|
||||
self.assertRegex(out, r"4\s+morning\s+four\s+3\s+noon\s+three\s+2\s+evening\s+two\s+1\s+night\s+one")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user