From 476b07641c35728d260cadacc2735dbba6ec98c9 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 7 Sep 2013 11:32:39 -0500 Subject: [PATCH] Oops :( --- 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 936a92e4cd..11921ccf03 100644 --- a/django/test/client.py +++ b/django/test/client.py @@ -336,7 +336,7 @@ class RequestFactory(object): query_string = force_bytes(parsed[4]) # WSGI requires latin-1 encoded strings. See get_path_info(). if six.PY3: - query_string = query_string.decode('iso-8859-1')2053020530 + query_string = query_string.decode('iso-8859-1') r['QUERY_STRING'] = query_string return self.request(**r)