Removed debug code

This commit is contained in:
Anssi Kääriäinen 2013-03-17 11:31:15 +02:00
parent 9bc8d887c7
commit 46f4b19920
1 changed files with 1 additions and 3 deletions

View File

@ -199,10 +199,8 @@ class TestNewConnection(IgnorePendingDeprecationWarningsMixin, TransactionTestCa
def tearDown(self): def tearDown(self):
try: try:
connections[DEFAULT_DB_ALIAS].abort() connections[DEFAULT_DB_ALIAS].abort()
except Exception:
import ipdb; ipdb.set_trace()
finally:
connections[DEFAULT_DB_ALIAS].close() connections[DEFAULT_DB_ALIAS].close()
finally:
connections[DEFAULT_DB_ALIAS] = self._old_backend connections[DEFAULT_DB_ALIAS] = self._old_backend
def test_commit(self): def test_commit(self):