mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Removed legacy transaction management per the deprecation timeline.
This commit is contained in:
@@ -371,7 +371,7 @@ class PostgresNewConnectionTests(TestCase):
|
||||
# Fetch a new connection with the new_tz as default
|
||||
# time zone, run a query and rollback.
|
||||
new_connection.settings_dict['TIME_ZONE'] = new_tz
|
||||
new_connection.enter_transaction_management()
|
||||
new_connection.set_autocommit(False)
|
||||
cursor = new_connection.cursor()
|
||||
new_connection.rollback()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user