mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-08 20:35:16 +08:00
Implement goto_assignments(follow_imports=True). Fixes #382.
This commit is contained in:
1 parent
c1bef454f5
commit
ebd080a0fd
4 files changed
+37
-7
No files matched your search
@@ -153,8 +153,8 @@ class TestInterpreterAPI(TestCase):
|
||||
def foo(bar):
|
||||
pass
|
||||
|
||||
lambd = lambda x: 3
|
||||
lambd = lambda xyz: 3
|
||||
|
||||
self.check_interpreter_complete('foo(bar', locals(), ['bar'])
|
||||
# TODO we're not yet using the Python3.5 inspect.signature, yet.
|
||||
assert not jedi.Interpreter('lambd(x', [locals()]).completions()
|
||||
assert not jedi.Interpreter('lambd(xyz', [locals()]).completions()
|
||||
Reference in new issue
Block a user