mirror of
https://github.com/python/cpython.git
synced 2025-07-30 22:54:16 +00:00
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.
This commit is contained in:
parent
c55555400e
commit
a29fc29f19
3 changed files with 3 additions and 3 deletions
|
@ -123,7 +123,7 @@ class urlopenNetworkTests(unittest.TestCase):
|
|||
# domain will be spared to serve its defined
|
||||
# purpose.
|
||||
# urllib2.urlopen, "http://www.sadflkjsasadf.com/")
|
||||
urllib2.urlopen, "http://www.python.invalid/")
|
||||
urllib2.urlopen, "http://www.python.invalid./")
|
||||
|
||||
|
||||
class OtherNetworkTests(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue