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

Method _testSendAndRecvMsg

Lib/test/test_socket.py:2625–2627  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2623
2624 @requireAttrs(socket.socket, 'sendmsg')
2625 def _testSendAndRecvMsg(self):
2626 self.data = b'hello ' * 10
2627 self.cli.sendmsg([self.data], (), 0, (HOST, self.port))
2628
2629 def testSendAndRecvMulti(self):
2630 data, addr = self.serv.recvfrom(self.bufsize)

Callers

nothing calls this directly

Calls 1

sendmsgMethod · 0.80

Tested by

no test coverage detected