mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
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:
parent
9e6b97502f
commit
1e440cf5a2
6 changed files with 21 additions and 15 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue