[Python-checkins] python/dist/src/Lib/test test_httplib.py, 1.16, 1.17

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Thu Sep 16 01:26:26 CEST 2004


Update of /cvsroot/python/python/dist/src/Lib/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12254/Lib/test

Modified Files:
	test_httplib.py 
Log Message:
Remove tabs.


Index: test_httplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_httplib.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- test_httplib.py	14 Sep 2004 21:45:36 -0000	1.16
+++ test_httplib.py	15 Sep 2004 23:26:23 -0000	1.17
@@ -121,14 +121,14 @@
     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'



More information about the Python-checkins mailing list