File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -491,7 +491,6 @@ def process_test_files(
491491
492492 function_to_test_map = defaultdict (set )
493493 jedi_project = jedi .Project (path = project_root_path )
494- goto_cache = {}
495494 tests_cache = TestsCache ()
496495
497496 with test_files_progress_bar (total = len (file_to_test_map ), description = "Processing test files" ) as (
@@ -605,13 +604,8 @@ def process_test_files(
605604 if scope not in test_functions_by_name :
606605 continue
607606
608- cache_key = (name .full_name , name .module_name )
609607 try :
610- if cache_key in goto_cache :
611- definition = goto_cache [cache_key ]
612- else :
613- definition = name .goto (follow_imports = True , follow_builtin_imports = False )
614- goto_cache [cache_key ] = definition
608+ definition = name .goto (follow_imports = True , follow_builtin_imports = False )
615609 except Exception as e :
616610 logger .debug (str (e ))
617611 continue
You can’t perform that action at this time.
0 commit comments