diff options
| author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 08:06:26 (GMT) |
|---|---|---|
| committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 08:06:26 (GMT) |
| commit | f10644983e88c73437703a863151593cc37a657f (patch) | |
| tree | b3cf3ffcc4d27cf9f81c90efbedbc10a856db857 /Lib/test | |
| parent | 318909b297241f9c46f25815e12d05136da57fa9 (diff) | |
| parent | e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (diff) | |
| download | cpython-f10644983e88c73437703a863151593cc37a657f.zip cpython-f10644983e88c73437703a863151593cc37a657f.tar.gz cpython-f10644983e88c73437703a863151593cc37a657f.tar.bz2 | |
Merge with 3.2.
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_urllib2.py | 2 | ||||
| -rw-r--r-- | Lib/test/test_urlparse.py | 2 | ||||
| -rw-r--r-- | Lib/test/test_xmlrpc.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 713a97f..84a058a 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -879,7 +879,7 @@ class HandlerTests(unittest.TestCase): def test_http_doubleslash(self): # Checks the presence of any unnecessary double slash in url does not # break anything. Previously, a double slash directly after the host - # could could cause incorrect parsing. + # could cause incorrect parsing. h = urllib.request.AbstractHTTPHandler() o = h.parent = MockOpener() diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index 4de190b..a6e7ee8 100644 --- a/Lib/test/test_urlparse.py +++ b/Lib/test/test_urlparse.py @@ -9,7 +9,7 @@ RFC2396_BASE = "http://a/b/c/d;p?q" RFC3986_BASE = 'http://a/b/c/d;p?q' SIMPLE_BASE = 'http://a/b/c/d' -# A list of test cases. Each test case is a a two-tuple that contains +# A list of test cases. Each test case is a two-tuple that contains # a string with the query and a dictionary with the expected result. parse_qsl_test_cases = [ diff --git a/Lib/test/test_xmlrpc.py b/Lib/test/test_xmlrpc.py index 04e762a..4ccc6ff 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -295,7 +295,7 @@ def http_server(evt, numrequests, requestHandler=None): global ADDR, PORT, URL ADDR, PORT = serv.socket.getsockname() #connect to IP address directly. This avoids socket.create_connection() - #trying to connect to to "localhost" using all address families, which + #trying to connect to "localhost" using all address families, which #causes slowdown e.g. on vista which supports AF_INET6. The server listens #on AF_INET only. URL = "http://%s:%d"%(ADDR, PORT) @@ -354,7 +354,7 @@ def http_multi_server(evt, numrequests, requestHandler=None): global ADDR, PORT, URL ADDR, PORT = serv.socket.getsockname() #connect to IP address directly. This avoids socket.create_connection() - #trying to connect to to "localhost" using all address families, which + #trying to connect to "localhost" using all address families, which #causes slowdown e.g. on vista which supports AF_INET6. The server listens #on AF_INET only. URL = "http://%s:%d"%(ADDR, PORT) |
