mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
AVRuleTest: Fix warning in regex escape sequence.
Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
2676ea9152
commit
729daacc57
@ -132,9 +132,9 @@ class AVRuleTest(unittest.TestCase):
|
||||
|
||||
# permissions are stored in a set, so the order may vary
|
||||
self.assertRegex(rule.statement(), "("
|
||||
"allow a b:c { d1 d2 }; \[ cond103 ]" # noqa
|
||||
r"allow a b:c { d1 d2 }; \[ cond103 ]" # noqa
|
||||
"|"
|
||||
"allow a b:c { d2 d1 }; \[ cond103 ]"
|
||||
r"allow a b:c { d2 d1 }; \[ cond103 ]"
|
||||
")")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user