MCPcopy
hub / github.com/tornadoweb/tornado / resolve

Method resolve

tornado/test/tcpclient_test.py:172–173  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

170
171 class TimeoutResolver(Resolver):
172 def resolve(self, *args, **kwargs):
173 return Future() # never completes
174
175 with self.assertRaises(TimeoutError):
176 yield TCPClient(resolver=TimeoutResolver()).connect(

Callers 6

skipIfLocalhostV4Method · 0.45
test_localhostMethod · 0.45
test_bad_hostMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected