mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-18 20:21:26 +08:00
Fix an issue with displaying attribute errors.
This commit is contained in:
1 parent
7fdcdbbd5c
commit
4e62e98539
3 files changed
+18
-17
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user