diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-25 21:50:26 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-04-25 21:50:26 -0400 |
commit | e1ec36fc9ebcd652a511c2c7881cdc725a187e7f (patch) | |
tree | dc2d91336b0c085304a8856fd4523682905fdb27 /test/lib/testing.py | |
parent | 81a025fca4c801acef1d137d427f3af730151126 (diff) | |
download | sqlalchemy-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.py | 2 |
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. |