summaryrefslogtreecommitdiff
path: root/test/orm/test_loading.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/orm/test_loading.py')
-rw-r--r--test/orm/test_loading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/orm/test_loading.py b/test/orm/test_loading.py
index 20dc082c5..97c08ea29 100644
--- a/test/orm/test_loading.py
+++ b/test/orm/test_loading.py
@@ -73,7 +73,7 @@ class MergeResultTest(_fixtures.FixtureTest):
[(x.id, y) for x, y in it],
[(1, 1), (2, 2), (7, 7), (8, 8)]
)
- eq_(it[0].keys(), ['User', 'id'])
+ eq_(list(it[0].keys()), ['User', 'id'])
def test_entity_col_mix_keyed_tuple(self):
s, (u1, u2, u3, u4) = self._fixture()
@@ -91,7 +91,7 @@ class MergeResultTest(_fixtures.FixtureTest):
[(x.id, y) for x, y in it],
[(1, 1), (2, 2), (7, 7), (8, 8)]
)
- eq_(it[0].keys(), ['User', 'id'])
+ eq_(list(it[0].keys()), ['User', 'id'])
def test_none_entity(self):
s, (u1, u2, u3, u4) = self._fixture()