Skip to content

Commit 57ec145

Browse files
committed
Update discover_unit_tests.py
1 parent a936077 commit 57ec145

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

codeflash/discovery/discover_unit_tests.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,8 @@ def discover_unit_tests(
315315
# Extract all functions to optimize for import filtering
316316
functions_to_optimize = None
317317
if file_to_funcs_to_optimize:
318-
functions_to_optimize = [
319-
func for funcs_list in file_to_funcs_to_optimize.values() for func in funcs_list
320-
]
321-
318+
functions_to_optimize = [func for funcs_list in file_to_funcs_to_optimize.values() for func in funcs_list]
319+
322320
return strategy(cfg, discover_only_these_tests, functions_to_optimize)
323321

324322

0 commit comments

Comments
 (0)