-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I am seeing a few errors
self = <Container(<module 'data' from 'C:\\Projects\\py\\pynaut\\test\\data.py'>) >
@property
def children(self):
_dict = {}
for name in dir(self.obj):
try:
_dict[name] = getattr(self.obj, name)
except Exception as e:
logger.warn('Having to return dummy value for attribute "{0}" (error: {1})'.format(name, str(e)))
_dict[name] = DUMMY_VALUE
> for attr, value in _dict.iteritems():
E AttributeError: 'dict' object has no attribute 'iteritems'
.tox\py310\lib\site-packages\pynaut\main.py:102: AttributeError
def test_convenience_functions():
"""Test the various methods that wrap get_attr_matches.
"""
obj = Container(data)
> base_types = [t for t in vars(types).values() if isinstance(t, types.TypeType)]
test\test_all.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.0 = <dict_valueiterator object at 0x0000022649F2A6B0>
> base_types = [t for t in vars(types).values() if isinstance(t, types.TypeType)]
E AttributeError: module 'types' has no attribute 'TypeType'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels