mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-04 16:02:51 +08:00
Don't use goto_definitions anymore, use infer
This commit is contained in:
1 parent
4bbaec68e8
commit
d7d9c9642a
30 files changed
+131
-137
No files matched your search
+1
-1
@@ -118,7 +118,7 @@ def has_typing(environment):
|
||||
return True
|
||||
|
||||
script = jedi.Script('import typing', environment=environment)
|
||||
return bool(script.goto_definitions())
|
||||
return bool(script.infer())
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
|
||||
Reference in new issue
Block a user