Improve interpreter tests.
This commit is contained in:
1 parent
d93d31feb8
commit
1bb8d32084
2 files changed
+7
No files matched your search
@@ -38,6 +38,9 @@ class MixedObject(object):
|
||||
assert search_global is False
|
||||
return [LazyMixedNamesDict(self._evaluator, self, is_instance=False)]
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s: %s>' % (type(self).__name__, repr(self.obj))
|
||||
|
||||
def __getattr__(self, name):
|
||||
return getattr(self._definition, name)
|
||||
|
||||
|
||||
Reference in new issue
Block a user