Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.

This commit is contained in:
Antoine Pitrou 2013-08-22 00:39:46 +02:00
parent 13423c3726
commit f6fbf56071
6 changed files with 24 additions and 14 deletions

View file

@ -110,7 +110,7 @@ class TimeoutTestCase(unittest.TestCase):
# solution.
fuzz = 2.0
localhost = '127.0.0.1'
localhost = support.HOST
def setUp(self):
raise NotImplementedError()