1
0
forked from VimPlug/jedi

incomplete functions shouldn't cause any trouble. fixes #429.

This commit is contained in:
Dave Halter
2014-07-28 17:41:09 +02:00
parent 605b0c5881
commit cfe54e83ff
2 changed files with 10 additions and 2 deletions

View File

@@ -78,3 +78,10 @@ def test_change_and_undo():
fp('a')
fp('b')
fp('a')
def test_incomplete_function():
source = '''return ImportErr'''
script = jedi.Script(dedent(source), 1, 3)
assert script.completions()