1
0
forked from VimPlug/jedi

A lot more fixes - fix all evaluate integration tests.

This commit is contained in:
Dave Halter
2016-12-03 22:17:38 +01:00
parent ee1f077014
commit 6940900c58
10 changed files with 91 additions and 53 deletions

View File

@@ -10,7 +10,7 @@ def test_call_of_leaf_in_brackets():
type(x)
""")
last_x = names(s, references=True, definitions=False)[-1]
name = last_x._name
name = last_x._name.tree_name
call = helpers.call_of_leaf(name)
assert call == name