summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-03-17 11:31:15 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2013-03-17 11:31:15 +0200
commit46f4b19920a52218d4ee165ce2626ebf6d905c08 (patch)
tree0797e506ed68ee920a56f6457debb93e97dc9ee7
parent9bc8d887c76b987cc4c76c9a80760e1b315fc80e (diff)
Removed debug code
-rw-r--r--tests/transactions_regress/tests.py4
1 files changed, 1 insertions, 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):