Kaydet (Commit) 46f4b199 authored tarafından Anssi Kääriäinen's avatar Anssi Kääriäinen

Removed debug code

üst 9bc8d887
...@@ -199,10 +199,8 @@ class TestNewConnection(IgnorePendingDeprecationWarningsMixin, TransactionTestCa ...@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment