Drop useless code in test-regex_matches.py

No need to assign a variable to itsself, not even conditionally.
This commit is contained in:
Christian Boltz 2024-12-02 21:33:34 +01:00
parent 93c7035148
commit ce0cfccfd7
Failed to generate hash of commit

View file

@ -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))