mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Drop useless code in test-regex_matches.py
No need to assign a variable to itsself, not even conditionally.
This commit is contained in:
parent
93c7035148
commit
ce0cfccfd7
1 changed files with 0 additions and 2 deletions
|
@ -44,8 +44,6 @@ class AANamedRegexTest(AATest):
|
|||
|
||||
for exp in expected:
|
||||
match = matches.group(exp)
|
||||
if match:
|
||||
match = match
|
||||
self.assertEqual(match, expected[exp], 'Group {} mismatch in rule {}'.format(exp, line))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue