summaryrefslogtreecommitdiff
path: root/tests/test_client
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-05-27 16:08:46 -0700
committerTim Graham <timograham@gmail.com>2017-05-27 19:08:46 -0400
commit21046e77734278cea871dce922220bf29aa5b7b4 (patch)
treee0820850a3d058c35307916da793668f7e5c48b3 /tests/test_client
parent2a5708a304cf337dbf556e2bd87a930079f8f766 (diff)
Fixed #28249 -- Removed unnecessary dict.keys() calls.
iter(dict) is equivalent to iter(dict.keys()).
Diffstat (limited to 'tests/test_client')
-rw-r--r--tests/test_client/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_client/views.py b/tests/test_client/views.py
index bc6a59f760..41a5f8518b 100644
--- a/tests/test_client/views.py
+++ b/tests/test_client/views.py
@@ -330,4 +330,4 @@ def django_project_redirect(request):
def upload_view(request):
"""Prints keys of request.FILES to the response."""
- return HttpResponse(', '.join(request.FILES.keys()))
+ return HttpResponse(', '.join(request.FILES))