summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-29 08:13:58 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-29 08:13:58 (GMT)
commitb44c4520d965788aa6d24edab36d89103b0a1aea (patch)
tree2c649fcb5f7518dace35b8241c9f4ffd60eda14f /Lib/test/test_httplib.py
parent6ee36a5a8cf7aff3a2b5f3ab50bb46a31c377750 (diff)
downloadcpython-b44c4520d965788aa6d24edab36d89103b0a1aea.zip
cpython-b44c4520d965788aa6d24edab36d89103b0a1aea.tar.gz
cpython-b44c4520d965788aa6d24edab36d89103b0a1aea.tar.bz2
Issue #27125: Fix various errors like “will [be] inherited”
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r--Lib/test/test_httplib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index a72f6f7..d3bac0f 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -213,8 +213,8 @@ class HeaderTests(TestCase):
self.assertIn(b'\xa0NonbreakSpace: value', conn._buffer)
def test_ipv6host_header(self):
- # Default host header on IPv6 transaction should wrapped by [] if
- # its actual IPv6 address
+ # Default host header on IPv6 transaction should be wrapped by [] if
+ # it is an IPv6 address
expected = 'GET /foo HTTP/1.1\r\nHost: [2001::]:81\r\n' \
'Accept-Encoding: identity\r\n\r\n'
conn = httplib.HTTPConnection('[2001::]:81')