MCPcopy Index your code
hub / github.com/RustPython/RustPython / testFDPassCMSG_SPACE

Method testFDPassCMSG_SPACE

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

Source from the content-addressed store, hash-verified

4031
4032 @requireAttrs(socket, "CMSG_SPACE")
4033 def testFDPassCMSG_SPACE(self):
4034 # Test using CMSG_SPACE() to calculate ancillary buffer size.
4035 self.checkRecvmsgFDs(
4036 4, self.doRecvmsg(self.serv_sock, len(MSG),
4037 socket.CMSG_SPACE(4 * SIZEOF_INT)))
4038
4039 @testFDPassCMSG_SPACE.client_skip
4040 def _testFDPassCMSG_SPACE(self):

Callers

nothing calls this directly

Calls 3

checkRecvmsgFDsMethod · 0.95
lenFunction · 0.85
doRecvmsgMethod · 0.45

Tested by

no test coverage detected