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

@ -49,8 +49,8 @@ class TestBug1379(TestCase):
self.t.config("color.label.sort", "")
# For use with regex
self.RED = "\033\[31m"
self.CLEAR = "\033\[0m"
self.RED = "\033\\[31m"
self.CLEAR = "\033\\[0m"
def test_color_BLOCKED(self):
"""color.tag.BLOCKED changes color of BLOCKED tasks"""