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

Method testOddCmsgSize

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

Source from the content-addressed store, hash-verified

4599 @requireAttrs(socket, "CMSG_SPACE", "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT",
4600 "IPV6_RECVTCLASS", "IPV6_TCLASS")
4601 def testOddCmsgSize(self):
4602 # Try to send ancillary data with first item one byte too
4603 # long. Fall back to sending with correct size if this fails,
4604 # and check that second item was handled correctly.
4605 self.checkTrafficClassAndHopLimit(ancbufsize=10240,
4606 maxhop=self.hop_limit)
4607
4608 @testOddCmsgSize.client_skip
4609 def _testOddCmsgSize(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected