summaryrefslogtreecommitdiff
path: root/tests/backends/test_postgresql.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backends/test_postgresql.py')
-rw-r--r--tests/backends/test_postgresql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/backends/test_postgresql.py b/tests/backends/test_postgresql.py
index 024fc1add3..61f881a42a 100644
--- a/tests/backends/test_postgresql.py
+++ b/tests/backends/test_postgresql.py
@@ -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()