From 56ec973cd44414bf35ebe23f72ce0e57940e00e0 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 17 Aug 2007 18:01:52 +0000 Subject: [PATCH] reinstated two_phase test. currently it passes on PG with and without threadlocal. --- test/orm/session.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/orm/session.py b/test/orm/session.py index 9d84408fb3..381b54d551 100644 --- a/test/orm/session.py +++ b/test/orm/session.py @@ -239,11 +239,9 @@ class SessionTest(AssertMixin): conn.close() raise - @testing.supported('mysql') -# @testing.supported('postgres', 'mysql') + @testing.supported('postgres', 'mysql') @testing.exclude('mysql', '<', (5, 0, 3)) -# @engines.rollback_open_connections - def dont_test_twophase(self): + def test_twophase(self): # TODO: mock up a failure condition here # to ensure a rollback succeeds class User(object):pass -- 2.47.3