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

Method _testFDPassSeparateMinSpace

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

Source from the content-addressed store, hash-verified

4201 @unittest.skipIf(SOLARIS, "skipping, see gh-91214")
4202 @unittest.skipIf(AIX, "skipping, see issue #22397")
4203 def _testFDPassSeparateMinSpace(self):
4204 fd0, fd1 = self.newFDs(2)
4205 self.assertEqual(
4206 self.sendmsgToServer([MSG], [(socket.SOL_SOCKET,
4207 socket.SCM_RIGHTS,
4208 array.array("i", [fd0])),
4209 (socket.SOL_SOCKET,
4210 socket.SCM_RIGHTS,
4211 array.array("i", [fd1]))]),
4212 len(MSG))
4213
4214 def sendAncillaryIfPossible(self, msg, ancdata):
4215 # Try to send msg and ancdata to server, but if the system

Callers

nothing calls this directly

Calls 3

newFDsMethod · 0.95
sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected