File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ class TestFunction:
5151class TestsCache :
5252 def __init__ (self ) -> None :
5353 self .connection = sqlite3 .connect (codeflash_cache_db )
54+ logger .debug (f"Connected to tests cache database at { codeflash_cache_db } " )
5455 self .cur = self .connection .cursor ()
5556
5657 self .cur .execute (
@@ -295,7 +296,6 @@ def _process_single_test_file(
295296 import jedi
296297
297298 jedi_project = jedi .Project (path = project_root_path )
298- goto_cache = {}
299299 results = []
300300 cache_entries = []
301301
@@ -388,13 +388,8 @@ def _process_single_test_file(
388388 if scope not in test_functions_by_name :
389389 continue
390390
391- cache_key = (name .full_name , name .module_name )
392391 try :
393- if cache_key in goto_cache :
394- definition = goto_cache [cache_key ]
395- else :
396- definition = name .goto (follow_imports = True , follow_builtin_imports = False )
397- goto_cache [cache_key ] = definition
392+ definition = name .goto (follow_imports = True , follow_builtin_imports = False )
398393 except Exception as e :
399394 logger .debug (str (e ))
400395 continue
You can’t perform that action at this time.
0 commit comments