forked from VimPlug/jedi
Fix import completion issues.
This commit is contained in:
@@ -74,6 +74,7 @@ def test_after_from():
|
||||
completions = Script(source, column=column).completions()
|
||||
assert [c.name for c in completions] == result
|
||||
|
||||
check('\nfrom os. ', ['path'])
|
||||
check('\nfrom os ', ['import'])
|
||||
check('from os ', ['import'])
|
||||
check('\nfrom os import whatever', ['import'], len('from os im'))
|
||||
|
||||
Reference in New Issue
Block a user