Skip to content
Snippets Groups Projects
Commit 69270534 authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

cleanup: remove another unnecessary list comprehension

parent 77c2148a
No related branches found
No related tags found
1 merge request!23cleanup: use generator expressions
......@@ -111,7 +111,7 @@
if __name__ == '__main__':
tc = TestUrlParsing()
for test in sorted([t for t in dir(tc) if t.startswith('test_')]):
for test in sorted(t for t in dir(tc) if t.startswith('test_')):
tc.setUp()
getattr(tc, test)()
tc.tearDown()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment