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:
Neal Norwitz 2006-06-11 20:25:56 +00:00
parent c55555400e
commit a29fc29f19
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ class TimeoutTestCase(unittest.TestCase):
def setUp(self):
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.addr_remote = ('www.python.org', 80)
self.addr_remote = ('www.python.org.', 80)
self.addr_local = ('127.0.0.1', 25339)
def tearDown(self):