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

Method testFDPassEmpty

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

Source from the content-addressed store, hash-verified

4224
4225 @unittest.skipIf(is_apple, "skipping, see issue #12958")
4226 def testFDPassEmpty(self):
4227 # Try to pass an empty FD array. Can receive either no array
4228 # or an empty array.
4229 self.checkRecvmsgFDs(0, self.doRecvmsg(self.serv_sock,
4230 len(MSG), 10240),
4231 ignoreflags=socket.MSG_CTRUNC)
4232
4233 def _testFDPassEmpty(self):
4234 self.sendAncillaryIfPossible(MSG, [(socket.SOL_SOCKET,

Callers

nothing calls this directly

Calls 2

checkRecvmsgFDsMethod · 0.95
doRecvmsgMethod · 0.45

Tested by

no test coverage detected