change tests that provided wrong instance information
This commit is contained in:
1 parent
50fa3a732d
commit
d09279e0ad
8 files changed
+15
-13
No files matched your search
@@ -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