summaryrefslogtreecommitdiff
path: root/tests/basic/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basic/tests.py')
-rw-r--r--tests/basic/tests.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/basic/tests.py b/tests/basic/tests.py
index 7b1f78a3b6..a8e4df32d6 100644
--- a/tests/basic/tests.py
+++ b/tests/basic/tests.py
@@ -755,7 +755,6 @@ class ConcurrentSaveTests(TransactionTestCase):
try:
# Do not delete a directly - doing so alters its state.
Article.objects.filter(pk=a.pk).delete()
- connections[DEFAULT_DB_ALIAS].commit_unless_managed()
except Exception as e:
exceptions.append(e)
finally: