mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-11 21:40:12 +08:00
Start working on param autocompletion for the REPL.
This commit is contained in:
1 parent
9acb5cf1b3
commit
05ad8c6608
2 files changed
+13
-4
No files matched your search
@@ -148,3 +148,12 @@ class TestInterpreterAPI(TestCase):
|
||||
foo = Foo()
|
||||
self.check_interpreter_complete('foo.bar', locals(), ['bar'])
|
||||
self.check_interpreter_complete('foo.bar.baz', locals(), [])
|
||||
|
||||
def test_param_completion(self):
|
||||
def foo(bar):
|
||||
pass
|
||||
|
||||
lambd = lambda x: 3
|
||||
|
||||
self.check_interpreter_complete('foo(bar', locals(), ['bar'])
|
||||
self.check_interpreter_complete('lambd(x', locals(), ['x'])
|
||||
Reference in new issue
Block a user