summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_urllibnet.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-11 20:25:56 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-11 20:25:56 (GMT)
commita29fc29f1955ede4b495543bc8f07824db8f41a4 (patch)
tree58c813aa6b4d0eee1c29303a65294e676f0ccb31 /Lib/test/test_urllibnet.py
parentc55555400eb497ff2eca54947feb40b1fa127190 (diff)
downloadcpython-a29fc29f1955ede4b495543bc8f07824db8f41a4.zip
cpython-a29fc29f1955ede4b495543bc8f07824db8f41a4.tar.gz
cpython-a29fc29f1955ede4b495543bc8f07824db8f41a4.tar.bz2
Try to fix several networking tests. The problem is that if hosts have
a search path setup, some of these hosts resolve to the wrong address. By appending a period to the hostname, the hostname should only resolve to what we want it to resolve to. Hopefully this doesn't break different bots.
Diffstat (limited to 'Lib/test/test_urllibnet.py')
-rw-r--r--Lib/test/test_urllibnet.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_urllibnet.py b/Lib/test/test_urllibnet.py
index 80761df..9105afe 100644
--- a/Lib/test/test_urllibnet.py
+++ b/Lib/test/test_urllibnet.py
@@ -110,7 +110,7 @@ class urlopenNetworkTests(unittest.TestCase):
# domain will be spared to serve its defined
# purpose.
# urllib.urlopen, "http://www.sadflkjsasadf.com/")
- urllib.urlopen, "http://www.python.invalid/")
+ urllib.urlopen, "http://www.python.invalid./")
class urlretrieveNetworkTests(unittest.TestCase):
"""Tests urllib.urlretrieve using the network."""