mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
8 lines
160 B
Python
8 lines
160 B
Python
import jedi
|
|
|
|
|
|
def test_on_code():
|
|
from functools import wraps
|
|
i = jedi.Interpreter("wraps.__code__", [{'wraps':wraps}])
|
|
assert i.goto_definitions()
|