diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 10:39:35 +0300 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 10:39:35 +0300 |
commit | 1e87da16eac24f6e0fb6908906ab6400ce583fa0 (patch) | |
tree | d992030c489c74b4f385314d3fba2d1dbb675cf6 /Lib/test | |
parent | 7a15390f83c57283b44163c33bb4a80fd453526b (diff) | |
download | cpython-git-1e87da16eac24f6e0fb6908906ab6400ce583fa0.tar.gz |
Remove duplication.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_urlparse.py | 2 | ||||
-rw-r--r-- | Lib/test/test_xmlrpc.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_urlparse.py b/Lib/test/test_urlparse.py index c690a67e98..39a897a1a9 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 79100e9a53..c88a1eeaee 100644 --- a/Lib/test/test_xmlrpc.py +++ b/Lib/test/test_xmlrpc.py @@ -308,7 +308,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) @@ -367,7 +367,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) |