mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-11 00:01:54 +08:00
Fix an issue of params completion signatures.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user