1
0
forked from VimPlug/jedi

Fix an issue with displaying attribute errors.

This commit is contained in:
Dave Halter
2016-12-18 21:37:15 +01:00
parent 7fdcdbbd5c
commit 4e62e98539
3 changed files with 18 additions and 17 deletions

View File

@@ -112,7 +112,7 @@ def test_goto_assignments_on_non_name():
assert api.Script('True').goto_assignments() == []
else:
# In Python 2.7 True is still a name.
assert api.Script('True').goto_assignments()[0].description == 'class bool'
assert api.Script('True').goto_assignments()[0].description == 'instance True'
def test_goto_definitions_on_non_name():