summaryrefslogtreecommitdiff
path: root/test/ext/associationproxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/ext/associationproxy.py')
-rw-r--r--test/ext/associationproxy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ext/associationproxy.py b/test/ext/associationproxy.py
index c4dd78463..b6476c836 100644
--- a/test/ext/associationproxy.py
+++ b/test/ext/associationproxy.py
@@ -32,7 +32,6 @@ class ObjectCollection(object):
class _CollectionOperations(PersistTest):
def setUp(self):
collection_class = self.collection_class
- lazy = self.lazy if hasattr(self, 'lazy') else False
metadata = BoundMetaData(db)
@@ -62,7 +61,7 @@ class _CollectionOperations(PersistTest):
self.name = name
mapper(Parent, parents_table, properties={
- '_children': relation(Child, lazy=lazy,
+ '_children': relation(Child, lazy=False,
collection_class=collection_class)})
mapper(Child, children_table)