mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed legacy transaction management per the deprecation timeline.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user