1
0
forked from VimPlug/jedi

Fix an issue with end_pos of a module.

This commit is contained in:
Dave Halter
2016-07-08 00:03:52 +02:00
parent c499696b60
commit e5f09e1c7d
3 changed files with 24 additions and 4 deletions

View File

@@ -369,3 +369,11 @@ def test_different_caller():
assert_signature('(str)(', 'str', 0)
assert_signature('(str)()', 'str', 0, column=len('(str)('))
def test_in_function():
code = dedent('''\
class X():
@property
def func(''')
assert not Script(code).call_signatures()