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

Method _testFDPassSeparate

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

Source from the content-addressed store, hash-verified

4172 @unittest.skipIf(SOLARIS, "skipping, see gh-91214")
4173 @unittest.skipIf(AIX, "skipping, see issue #22397")
4174 def _testFDPassSeparate(self):
4175 fd0, fd1 = self.newFDs(2)
4176 self.assertEqual(
4177 self.sendmsgToServer([MSG], [(socket.SOL_SOCKET,
4178 socket.SCM_RIGHTS,
4179 array.array("i", [fd0])),
4180 (socket.SOL_SOCKET,
4181 socket.SCM_RIGHTS,
4182 array.array("i", [fd1]))]),
4183 len(MSG))
4184
4185 @unittest.skipIf(is_apple, "skipping, see issue #12958")
4186 @unittest.skipIf(SOLARIS, "skipping, see gh-91214")

Callers

nothing calls this directly

Calls 3

newFDsMethod · 0.95
sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected