Issue #27125: Fix various errors like “will [be] inherited”

This commit is contained in:
Martin Panter 2016-05-29 04:13:35 +00:00
parent e8a175eaa0
commit 8d56c026a5
13 changed files with 17 additions and 15 deletions

View file

@ -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')