mirror of https://github.com/django/django.git
Removed debug code
This commit is contained in:
parent
9bc8d887c7
commit
46f4b19920
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue