From 46f4b19920a52218d4ee165ce2626ebf6d905c08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anssi=20K=C3=A4=C3=A4ri=C3=A4inen?= Date: Sun, 17 Mar 2013 11:31:15 +0200 Subject: [PATCH] Removed debug code --- tests/transactions_regress/tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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):