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

Method testSetTrafficClassAndHopLimit

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

Source from the content-addressed store, hash-verified

4579 @requireAttrs(socket, "CMSG_SPACE", "IPV6_RECVHOPLIMIT", "IPV6_HOPLIMIT",
4580 "IPV6_RECVTCLASS", "IPV6_TCLASS")
4581 def testSetTrafficClassAndHopLimit(self):
4582 # Test setting traffic class and hop limit on outgoing packet,
4583 # and receiving them at the other end.
4584 self.checkTrafficClassAndHopLimit(ancbufsize=10240,
4585 maxhop=self.hop_limit)
4586
4587 @testSetTrafficClassAndHopLimit.client_skip
4588 def _testSetTrafficClassAndHopLimit(self):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected