Commit 720c6d3a authored by Aymeric Augustin's avatar Aymeric Augustin
Browse files

Restored a test broken by overzealous PEP8 cleanup

parent fbe1abac
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -388,6 +388,8 @@ class PostgresNewConnectionTests(TestCase):
        new_connection = new_connections[DEFAULT_DB_ALIAS]
        try:
            new_connection.settings_dict['AUTOCOMMIT'] = False
            # Open a database connection.
            new_connection.cursor()
            self.assertFalse(new_connection.get_autocommit())
        finally:
            new_connection.close()