MCPcopy Index your code
hub / github.com/python/cpython / testRecvfromTimeout

Method testRecvfromTimeout

Lib/test/test_timeout.py:266–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

264 socket.socket(socket.AF_INET, socket.SOCK_DGRAM))
265
266 def testRecvfromTimeout(self):
267 # Test recvfrom() timeout
268 # Prevent "Address already in use" socket exceptions
269 socket_helper.bind_port(self.sock, self.localhost)
270 self._sock_operation(1, 1.5, 'recvfrom', 1024)
271
272
273def setUpModule():

Callers

nothing calls this directly

Calls 1

_sock_operationMethod · 0.80

Tested by

no test coverage detected