File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,6 @@ def filter_test_files_by_imports(
336336 )
337337 return filtered_map
338338
339-
340339def discover_unit_tests (
341340 cfg : TestConfig ,
342341 discover_only_these_tests : list [Path ] | None = None ,
@@ -506,6 +505,8 @@ def process_test_files(
506505 cfg : TestConfig ,
507506 functions_to_optimize : list [FunctionToOptimize ] | None = None ,
508507) -> tuple [dict [str , set [FunctionCalledInTest ]], int ]:
508+ from time import sleep
509+
509510 import jedi
510511
511512 project_root_path = cfg .project_root_path
@@ -519,7 +520,7 @@ def process_test_files(
519520 num_discovered_tests = 0
520521 num_discovered_replay_tests = 0
521522 jedi_project = jedi .Project (path = project_root_path )
522-
523+ sleep ( 0.0001 )
523524 with test_files_progress_bar (total = len (file_to_test_map ), description = "Processing test files" ) as (
524525 progress ,
525526 task_id ,
You can’t perform that action at this time.
0 commit comments