mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
[1.11.x] Fixed flake8 warning on Python 2.
This commit is contained in:
parent
76b51656e6
commit
7f5be2dc84
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class ServerSideCursorsPostgres(TestCase):
|
|||
with connection.cursor() as cursor:
|
||||
cursor.execute('SELECT {fields} FROM pg_cursors;'.format(fields=self.cursor_fields))
|
||||
cursors = cursor.fetchall()
|
||||
return [self.PostgresCursor._make(cursor) for cursor in cursors]
|
||||
return [self.PostgresCursor._make(c) for c in cursors]
|
||||
|
||||
def test_server_side_cursor(self):
|
||||
persons = Person.objects.iterator()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue