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:
parent
3fca94cd69
commit
bd8c3afe10
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user