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

Method testSetHopLimit

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

Source from the content-addressed store, hash-verified

4502 @requireAttrs(socket.socket, "sendmsg")
4503 @requireAttrs(socket, "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT")
4504 def testSetHopLimit(self):
4505 # Test setting hop limit on outgoing packet and receiving it
4506 # at the other end.
4507 self.checkHopLimit(ancbufsize=10240, maxhop=self.hop_limit)
4508
4509 @testSetHopLimit.client_skip
4510 def _testSetHopLimit(self):

Callers

nothing calls this directly

Calls 1

checkHopLimitMethod · 0.95

Tested by

no test coverage detected