mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 15:42:03 +08:00
STY: Flake8
This commit is contained in:
@@ -32,7 +32,8 @@ def stringify_cases(cases, func=None):
|
||||
# get better test case names
|
||||
results = []
|
||||
if func is None:
|
||||
func = lambda case: case[0].__name__
|
||||
def func(case):
|
||||
return case[0].__name__
|
||||
for case in cases:
|
||||
new_case = list(case)
|
||||
key = func(case)
|
||||
|
||||
Reference in New Issue
Block a user