mirror of
https://github.com/django/django.git
synced 2025-08-31 07:47:37 +00:00
Fixed flake8 issues.
This commit is contained in:
parent
56ab5f52c7
commit
c726598c3d
3 changed files with 2 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue