summaryrefslogtreecommitdiff
path: root/test/orm/memusage.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2008-02-09 01:48:19 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2008-02-09 01:48:19 +0000
commit1a3dc519930712d2e6de095a07d76da9a9062210 (patch)
tree2587b92dde7ddba71b369ad1b88c7e0e296470cc /test/orm/memusage.py
parent0b890e1ccde7da937a25107d9287d4dc4e5b7775 (diff)
downloadsqlalchemy-1a3dc519930712d2e6de095a07d76da9a9062210.tar.gz
- lazy loader can now handle a join condition where the "bound"
column (i.e. the one that gets the parent id sent as a bind parameter) appears more than once in the join condition. Specifically this allows the common task of a relation() which contains a parent-correlated subquery, such as "select only the most recent child item". [ticket:946] - col_is_part_of_mappings made more strict, seems to be OK with tests - memusage will dump out the size list in an assertion fail
Diffstat (limited to 'test/orm/memusage.py')
-rw-r--r--test/orm/memusage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/memusage.py b/test/orm/memusage.py
index 7f8392ed3..87471842f 100644
--- a/test/orm/memusage.py
+++ b/test/orm/memusage.py
@@ -28,7 +28,7 @@ def profile_memory(func):
if i < len(samples) - 1 and samples[i+1] <= x:
break
else:
- assert False
+ assert False, repr(samples)
assert True
return profile