summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2013-06-03 15:18:16 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2013-06-03 15:18:16 -0400
commit84c42d9c64f4537935315e8c35f497e3300021a8 (patch)
treed8137b38f4af800fd39b0d374a92567d32cdc1d0 /lib/sqlalchemy/testing
parentf2328d6df4dcec4793f908ab798f96ca1efaf80d (diff)
parent82c11cc94b41323caeecc9990d1d87ed9fed4b7c (diff)
downloadsqlalchemy-84c42d9c64f4537935315e8c35f497e3300021a8.tar.gz
Merge branch 'master' into ticket_1068
Diffstat (limited to 'lib/sqlalchemy/testing')
-rw-r--r--lib/sqlalchemy/testing/engines.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sqlalchemy/testing/engines.py b/lib/sqlalchemy/testing/engines.py
index efc0103f2..d8c1709e7 100644
--- a/lib/sqlalchemy/testing/engines.py
+++ b/lib/sqlalchemy/testing/engines.py
@@ -47,13 +47,13 @@ class ConnectionKiller(object):
self._safe(rec._close)
def _after_test_ctx(self):
- pass
# this can cause a deadlock with pg8000 - pg8000 acquires
# prepared statment lock inside of rollback() - if async gc
# is collecting in finalize_fairy, deadlock.
- # not sure if this should be if pypy/jython only
- #for conn in self.conns:
- # self._safe(conn.rollback)
+ # not sure if this should be if pypy/jython only.
+ # note that firebird/fdb definitely needs this though
+ for conn in self.conns:
+ self._safe(conn.rollback)
def _stop_test_ctx(self):
if config.options.low_connections: