From 6f59d291585420800275cff8aa8377c19616b79a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Wed, 20 Aug 2014 14:37:33 -0400 Subject: [PATCH] Fixed flake8 warnings. --- tests/handlers/tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/handlers/tests.py b/tests/handlers/tests.py index ca2daa0f75..012b2ffa53 100644 --- a/tests/handlers/tests.py +++ b/tests/handlers/tests.py @@ -47,10 +47,10 @@ class HandlerTests(TestCase): """ environ = RequestFactory().get('/').environ raw_query_strings = [ - b'want=caf%C3%A9', # This is the proper way to encode 'café' - b'want=caf\xc3\xa9', # UA forgot to quote bytes - b'want=caf%E9', # UA quoted, but not in UTF-8 - b'want=caf\xe9', # UA forgot to convert Latin-1 to UTF-8 and to quote (typical of MSIE) + b'want=caf%C3%A9', # This is the proper way to encode 'café' + b'want=caf\xc3\xa9', # UA forgot to quote bytes + b'want=caf%E9', # UA quoted, but not in UTF-8 + b'want=caf\xe9', # UA forgot to convert Latin-1 to UTF-8 and to quote (typical of MSIE) ] got = [] for raw_query_string in raw_query_strings: