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

Method testCmsgTruncNoBufSize

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

Source from the content-addressed store, hash-verified

4649
4650 @requireAttrs(socket, "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT")
4651 def testCmsgTruncNoBufSize(self):
4652 # Check that no ancillary data is received when no ancillary
4653 # buffer size is provided.
4654 self.checkHopLimitTruncatedHeader(ancbufsize=None,
4655 # BSD seems to set
4656 # MSG_CTRUNC only if an item
4657 # has been partially
4658 # received.
4659 ignoreflags=socket.MSG_CTRUNC)
4660
4661 @testCmsgTruncNoBufSize.client_skip
4662 def _testCmsgTruncNoBufSize(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected