forked from VimPlug/jedi
change tests that provided wrong instance information
This commit is contained in:
@@ -148,6 +148,8 @@ class BaseDefinition(object):
|
||||
stripped = stripped.parent
|
||||
if isinstance(stripped, pr.Name):
|
||||
stripped = stripped.parent
|
||||
if isinstance(stripped, iterable.Array):
|
||||
return 'instance'
|
||||
return type(stripped).__name__.lower().replace('wrapper', '')
|
||||
|
||||
def _path(self):
|
||||
|
||||
Reference in New Issue
Block a user