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

@@ -53,7 +53,7 @@ class TestCMD(TestCase):
def test_info_command(self):
"""info command"""
code, out, err = self.t('1')
self.assertRegex(out, 'Description\s+one')
self.assertRegex(out, r'Description\s+one')
class TestDefaults(TestCase):