mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Don't use goto_definitions anymore, use infer
This commit is contained in:
@@ -23,5 +23,5 @@ def ScriptInStubFolder(Script):
|
||||
]
|
||||
)
|
||||
def test_find_stubs_infer(ScriptInStubFolder, code, expected):
|
||||
defs = ScriptInStubFolder(code).goto_definitions()
|
||||
defs = ScriptInStubFolder(code).infer()
|
||||
assert [d.name for d in defs] == expected
|
||||
|
||||
Reference in New Issue
Block a user