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

Method _testFDPassEmpty

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

Source from the content-addressed store, hash-verified

4231 ignoreflags=socket.MSG_CTRUNC)
4232
4233 def _testFDPassEmpty(self):
4234 self.sendAncillaryIfPossible(MSG, [(socket.SOL_SOCKET,
4235 socket.SCM_RIGHTS,
4236 b"")])
4237
4238 def testFDPassPartialInt(self):
4239 # Try to pass a truncated FD array.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected