summaryrefslogtreecommitdiff
path: root/test/lib/testing.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2011-04-25 21:50:26 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2011-04-25 21:50:26 -0400
commite1ec36fc9ebcd652a511c2c7881cdc725a187e7f (patch)
treedc2d91336b0c085304a8856fd4523682905fdb27 /test/lib/testing.py
parent81a025fca4c801acef1d137d427f3af730151126 (diff)
downloadsqlalchemy-e1ec36fc9ebcd652a511c2c7881cdc725a187e7f.tar.gz
- hardcore force every connection into a strong-referenced set, rollback on every test, close on every context.
this uses pool events but bypasses the pool's fairy/record/dispose services. pypy still seems to expose some holes in that at least as far as what some (or maybe just one, cant find it yet) of the tests does. haven't tested this too deeply, just on sqlite + postgres, cypthon 2.7 + pypy. will see what the buildbot says
Diffstat (limited to 'test/lib/testing.py')
-rw-r--r--test/lib/testing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/testing.py b/test/lib/testing.py
index 6512a23d2..f5babc19c 100644
--- a/test/lib/testing.py
+++ b/test/lib/testing.py
@@ -447,7 +447,7 @@ def global_cleanup_assertions():
"""
testutil.lazy_gc()
- assert not pool._refs
+ assert not pool._refs, str(pool._refs)
def against(*queries):
"""Boolean predicate, compares to testing database configuration.