diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-22 00:39:46 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-22 00:39:46 +0200 |
commit | f6fbf5607155b2dcd517059c8067305c4d015b00 (patch) | |
tree | 49d363b0218c7c9d8c36a64f029ca45ed49cf905 /Lib/test/test_timeout.py | |
parent | 13423c3726ac4aa42125ac49e6c5038a015fe3eb (diff) | |
download | cpython-git-f6fbf5607155b2dcd517059c8067305c4d015b00.tar.gz |
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.
Diffstat (limited to 'Lib/test/test_timeout.py')
-rw-r--r-- | Lib/test/test_timeout.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index fe7b264c6c..703c43ab2b 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -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() |