1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

python:tests: Fix invalid escape sequence

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-08-30 11:58:18 +12:00 committed by Andrew Bartlett
parent 3fca94cd69
commit bd8c3afe10

View File

@ -88,7 +88,7 @@ class NtACLCmdSysvolTestCase(SambaToolCmdTest):
self.assertCmdFail(result, f"succeeded with {args} with missing dir")
self.assertNotIn("uncaught exception", err,
"Shouldn't be uncaught exception")
self.assertNotRegex(err, '^\s*File [^,]+, line \d+, in',
self.assertNotRegex(err, r'^\s*File [^,]+, line \d+, in',
"Shouldn't be lines of traceback")
self.assertEqual(out, "", "Shouldn't be any output messages")
finally: