From 474eeccb52416c24ed375c0026af54e586a67ff3 Mon Sep 17 00:00:00 2001 From: Florian Apolloner Date: Thu, 13 Feb 2014 17:36:53 +0100 Subject: [PATCH] Fixed a typo (I guess). --- django/test/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/test/client.py b/django/test/client.py index 90804fc170..e6a9593dfd 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -252,7 +252,7 @@ class RequestFactory(object): "Construct a generic request object." return WSGIRequest(self._base_environ(**request)) - def _encode_data(self, data, content_type, ): + def _encode_data(self, data, content_type): if content_type is MULTIPART_CONTENT: return encode_multipart(BOUNDARY, data) else: