mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed flake8 issues.
This commit is contained in:
@@ -388,7 +388,6 @@ class PostgresNewConnectionTests(TestCase):
|
||||
new_connection = new_connections[DEFAULT_DB_ALIAS]
|
||||
try:
|
||||
new_connection.settings_dict['AUTOCOMMIT'] = False
|
||||
cursor = new_connection.cursor()
|
||||
self.assertFalse(new_connection.get_autocommit())
|
||||
finally:
|
||||
new_connection.close()
|
||||
|
||||
Reference in New Issue
Block a user