diff --git a/tests/transactions_regress/tests.py b/tests/transactions_regress/tests.py index e320f76169..fb3f257dab 100644 --- a/tests/transactions_regress/tests.py +++ b/tests/transactions_regress/tests.py @@ -199,10 +199,8 @@ class TestNewConnection(IgnorePendingDeprecationWarningsMixin, TransactionTestCa def tearDown(self): try: connections[DEFAULT_DB_ALIAS].abort() - except Exception: - import ipdb; ipdb.set_trace() - finally: connections[DEFAULT_DB_ALIAS].close() + finally: connections[DEFAULT_DB_ALIAS] = self._old_backend def test_commit(self):