summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-05-29 04:13:35 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-05-29 04:13:35 (GMT)
commit8d56c026a5dd724318be005465366d5140fa6fe7 (patch)
tree9e1efdce69034e7c5088bcf176a7bcf5144c560f /Lib/test/test_httplib.py
parente8a175eaa067d0f434933d2f003260a6d739c2d1 (diff)
downloadcpython-8d56c026a5dd724318be005465366d5140fa6fe7.zip
cpython-8d56c026a5dd724318be005465366d5140fa6fe7.tar.gz
cpython-8d56c026a5dd724318be005465366d5140fa6fe7.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 7d997b0..329f068 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -255,8 +255,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 = b'GET /foo HTTP/1.1\r\nHost: [2001::]:81\r\n' \
b'Accept-Encoding: identity\r\n\r\n'
conn = client.HTTPConnection('[2001::]:81')