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

Method testRecvHopLimitCMSG_SPACE

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

Source from the content-addressed store, hash-verified

4486
4487 @requireAttrs(socket, "CMSG_SPACE", "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT")
4488 def testRecvHopLimitCMSG_SPACE(self):
4489 # Test receiving hop limit, using CMSG_SPACE to calculate buffer size.
4490 self.checkHopLimit(ancbufsize=socket.CMSG_SPACE(SIZEOF_INT))
4491
4492 @testRecvHopLimitCMSG_SPACE.client_skip
4493 def _testRecvHopLimitCMSG_SPACE(self):

Callers

nothing calls this directly

Calls 1

checkHopLimitMethod · 0.95

Tested by

no test coverage detected