mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 04:41:26 +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
@@ -32,7 +32,7 @@ def test_compiled_signature(Script, environment, code, sig, names, op, version):
|
||||
if not op(environment.version_info, version):
|
||||
return # The test right next to it should take over.
|
||||
|
||||
d, = Script(code).goto_definitions()
|
||||
d, = Script(code).infer()
|
||||
value, = d._name.infer()
|
||||
compiled, = _stub_to_python_value_set(value)
|
||||
signature, = compiled.get_signatures()
|
||||
|
||||
Reference in new issue
Block a user