summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_httplib.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-09-15 23:26:23 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-09-15 23:26:23 (GMT)
commit0a1af4aeb07dd9198ad1ff19528d89873219b623 (patch)
tree6afda68bd8017e1869861bd9437598c04ea2e2dc /Lib/test/test_httplib.py
parentca0d2cb66ea25e56bb7ec5184aeb20cd65303d1a (diff)
downloadcpython-0a1af4aeb07dd9198ad1ff19528d89873219b623.zip
cpython-0a1af4aeb07dd9198ad1ff19528d89873219b623.tar.gz
cpython-0a1af4aeb07dd9198ad1ff19528d89873219b623.tar.bz2
Remove tabs.
Diffstat (limited to 'Lib/test/test_httplib.py')
-rw-r--r--Lib/test/test_httplib.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index b0d7338..deca23a 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -121,14 +121,14 @@ def _test():
for hp,h,p in (("[fe80::207:e9ff:fe9b]:8000", "fe80::207:e9ff:fe9b", 8000),
("www.python.org:80", "www.python.org", 80),
("www.python.org", "www.python.org", 80),
- ("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)):
+ ("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)):
try:
http = httplib.HTTP(hp)
except httplib.InvalidURL:
print "InvalidURL raised erroneously"
- c = http._conn
- if h != c.host: raise AssertionError, ("Host incorrectly parsed", h, c.host)
- if p != c.port: raise AssertionError, ("Port incorrectly parsed", p, c.host)
+ c = http._conn
+ if h != c.host: raise AssertionError, ("Host incorrectly parsed", h, c.host)
+ if p != c.port: raise AssertionError, ("Port incorrectly parsed", p, c.host)
# test response with multiple message headers with the same field name.
text = ('HTTP/1.1 200 OK\r\n'