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

Method testFDPassCMSG_SPACE

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

Source from the content-addressed store, hash-verified

4134
4135 @requireAttrs(socket, "CMSG_SPACE")
4136 def testFDPassCMSG_SPACE(self):
4137 # Test using CMSG_SPACE() to calculate ancillary buffer size.
4138 self.checkRecvmsgFDs(
4139 4, self.doRecvmsg(self.serv_sock, len(MSG),
4140 socket.CMSG_SPACE(4 * SIZEOF_INT)))
4141
4142 @testFDPassCMSG_SPACE.client_skip
4143 def _testFDPassCMSG_SPACE(self):

Callers

nothing calls this directly

Calls 2

checkRecvmsgFDsMethod · 0.95
doRecvmsgMethod · 0.45

Tested by

no test coverage detected