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

Method testSendAndRecvMsg

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

Source from the content-addressed store, hash-verified

2618
2619 @requireAttrs(socket.socket, 'recvmsg')
2620 def testSendAndRecvMsg(self):
2621 data, ancdata, msg_flags, addr = self.serv.recvmsg(self.bufsize)
2622 self.assertEqual(self.data, data)
2623
2624 @requireAttrs(socket.socket, 'sendmsg')
2625 def _testSendAndRecvMsg(self):

Callers

nothing calls this directly

Calls 2

recvmsgMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected