summaryrefslogtreecommitdiff
path: root/tests/httpwrappers
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2020-04-18 07:46:05 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-04-20 12:10:33 +0200
commit505fec6badba0622bbf97bb659188c3d62a9bc58 (patch)
treeca5c256eb32d7f9906c59652049a45690458b52b /tests/httpwrappers
parent3152146e3abd029be2457d2e780599d399db0fe2 (diff)
Capitalized Unicode in docs, strings, and comments.
Diffstat (limited to 'tests/httpwrappers')
-rw-r--r--tests/httpwrappers/tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/httpwrappers/tests.py b/tests/httpwrappers/tests.py
index bafdd2891c..04c2a9516c 100644
--- a/tests/httpwrappers/tests.py
+++ b/tests/httpwrappers/tests.py
@@ -302,7 +302,8 @@ class HttpResponseTests(unittest.TestCase):
r['key'] = 'café'
self.assertIn('café'.encode('latin-1'), r.serialize_headers())
- # Other unicode values are MIME-encoded (there's no way to pass them as bytes).
+ # Other Unicode values are MIME-encoded (there's no way to pass them as
+ # bytes).
r['key'] = '†'
self.assertEqual(r['key'], '=?utf-8?b?4oCg?=')
self.assertIn(b'=?utf-8?b?4oCg?=', r.serialize_headers())