mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-13 02:10:13 +08:00
Fix an issue with end_pos of a module.
This commit is contained in:
1 parent
c499696b60
commit
e5f09e1c7d
3 files changed
+24
-4
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user