mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Don't use goto_definitions anymore, use infer
This commit is contained in:
@@ -52,7 +52,7 @@ def test_precedence_slowdown(Script):
|
||||
"""
|
||||
with open('speed/precedence.py') as f:
|
||||
line = len(f.read().splitlines())
|
||||
assert Script(line=line, path='speed/precedence.py').goto_definitions()
|
||||
assert Script(path='speed/precedence.py').infer(line=line)
|
||||
|
||||
|
||||
@_check_speed(0.1)
|
||||
|
||||
Reference in New Issue
Block a user