mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
test: remove unnecessary lambda wrapper in list_tests
Pass show_test_info directly to map() instead of wrapping it in a redundant lambda. Assisted-by: Claude Code (claude-opus-4-6) Signed-off-by: Adrian Reber <areber@redhat.com>
This commit is contained in:
parent
6233eaa5f0
commit
a666df2b65
1 changed files with 1 additions and 1 deletions
|
|
@ -2606,7 +2606,7 @@ def list_tests(opts):
|
|||
tlist = all_tests(opts)
|
||||
if opts['info']:
|
||||
print(sti_fmt % ('Name', 'Flavors', 'Flags'))
|
||||
tlist = map(lambda x: show_test_info(x), tlist)
|
||||
tlist = map(show_test_info, tlist)
|
||||
print('\n'.join(tlist))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue