commit
e6db81650e
|
@ -44,7 +44,7 @@ class _ResolverTestMixin(object):
|
|||
@gen_test
|
||||
def test_localhost(self: typing.Any):
|
||||
addrinfo = yield self.resolver.resolve("localhost", 80, socket.AF_UNSPEC)
|
||||
# Most of the time localhost resovles to either the ipv4 loopback
|
||||
# Most of the time localhost resolves to either the ipv4 loopback
|
||||
# address alone, or ipv4+ipv6. But some versions of pycares will only
|
||||
# return the ipv6 version, so we have to check for either one alone.
|
||||
self.assertTrue(
|
||||
|
|
Loading…
Reference in New Issue