diff options
| author | Tim Graham <timograham@gmail.com> | 2014-08-20 14:37:33 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-08-20 14:38:43 -0400 |
| commit | 298148528059a84887364acc8a2faa3220eb4897 (patch) | |
| tree | e95e1063c2a0d1ba39b6bde2e41b6c320666e332 /tests | |
| parent | 6981eced83ea2d6462b21c12ecea044e02e56d05 (diff) | |
[1.7.x] Fixed flake8 warnings.
Backport of 6f59d29158 from master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/handlers/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/handlers/tests.py b/tests/handlers/tests.py index 9d33e928a6..a2f1b622d4 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: |
