1
0
forked from VimPlug/jedi

Fix get_parent_scope

This commit is contained in:
Dave Halter
2019-02-27 13:08:21 +01:00
parent 94f2677752
commit 17136e03d2
3 changed files with 8 additions and 5 deletions

View File

@@ -99,7 +99,7 @@ def test_function_call_signature_in_doc(Script):
def test_param_docstring():
param = jedi.names("def test(parameter): pass")[1]
param = jedi.names("def test(parameter): pass", all_scopes=True)[1]
assert param.name == 'parameter'
assert param.docstring() == ''