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

Method testFDPassEmpty

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

Source from the content-addressed store, hash-verified

4121
4122 @unittest.skipIf(is_apple, "skipping, see issue #12958")
4123 def testFDPassEmpty(self):
4124 # Try to pass an empty FD array. Can receive either no array
4125 # or an empty array.
4126 self.checkRecvmsgFDs(0, self.doRecvmsg(self.serv_sock,
4127 len(MSG), 10240),
4128 ignoreflags=socket.MSG_CTRUNC)
4129
4130 def _testFDPassEmpty(self):
4131 self.sendAncillaryIfPossible(MSG, [(socket.SOL_SOCKET,

Callers

nothing calls this directly

Calls 3

checkRecvmsgFDsMethod · 0.95
lenFunction · 0.85
doRecvmsgMethod · 0.45

Tested by

no test coverage detected