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
37 changed files with 156 additions and 156 deletions

View File

@@ -48,7 +48,7 @@ class TestCustomReports(TestCase):
def test_custom_report_help(self):
"""Verify custom report description is shown in help"""
code, out, err = self.t("help")
self.assertRegex(out, "task <filter> foo\s+DESC\n")
self.assertRegex(out, "task <filter> foo\\s+DESC\n")
def test_custom_filter(self):
"""Verify custome report filtr is applied"""