summaryrefslogtreecommitdiff
path: root/test/orm/test_inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_inspect.py')
-rw-r--r--test/orm/test_inspect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/test_inspect.py b/test/orm/test_inspect.py
index 2a401f91d..78d84f505 100644
--- a/test/orm/test_inspect.py
+++ b/test/orm/test_inspect.py
@@ -142,7 +142,7 @@ class TestORMInspection(_fixtures.FixtureTest):
[insp.get_property('id'), insp.get_property('name')]
)
eq_(
- insp.column_attrs.keys(),
+ list(insp.column_attrs.keys()),
['id', 'name']
)
is_(
@@ -274,7 +274,7 @@ class TestORMInspection(_fixtures.FixtureTest):
insp = inspect(SomeSubClass)
eq_(
dict((k, v.extension_type)
- for k, v in insp.all_orm_descriptors.items()
+ for k, v in list(insp.all_orm_descriptors.items())
),
{
'id': NOT_EXTENSION,