MCPcopy Index your code
hub / github.com/RustPython/RustPython / testSetHopLimit

Method testSetHopLimit

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

Source from the content-addressed store, hash-verified

4399 @requireAttrs(socket.socket, "sendmsg")
4400 @requireAttrs(socket, "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT")
4401 def testSetHopLimit(self):
4402 # Test setting hop limit on outgoing packet and receiving it
4403 # at the other end.
4404 self.checkHopLimit(ancbufsize=10240, maxhop=self.hop_limit)
4405
4406 @testSetHopLimit.client_skip
4407 def _testSetHopLimit(self):

Callers

nothing calls this directly

Calls 1

checkHopLimitMethod · 0.95

Tested by

no test coverage detected