Fix an issue of params completion signatures.

This commit is contained in:
Dave Halter
2017-01-04 22:09:03 +01:00
parent 55ec47f15f
commit e96fd32588
2 changed files with 14 additions and 7 deletions

View File

@@ -7,3 +7,11 @@ def test_in_whitespace():
def x():
pass''')
assert len(Script(code, column=2).completions()) > 20
def test_empty_init():
"""This was actually an issue."""
code = dedent('''\
class X(object): pass
X(''')
assert Script(code).completions()