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

Method testRecvmsgLongAncillaryBuf

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

Source from the content-addressed store, hash-verified

3738 self.sendToServer(MSG)
3739
3740 def testRecvmsgLongAncillaryBuf(self):
3741 # Test large ancillary data buffer.
3742 msg, ancdata, flags, addr = self.doRecvmsg(self.serv_sock,
3743 len(MSG), 10240)
3744 self.assertEqual(msg, MSG)
3745 self.checkRecvmsgAddress(addr, self.cli_addr)
3746 self.assertEqual(ancdata, [])
3747 self.checkFlags(flags, eor=True)
3748
3749 def _testRecvmsgLongAncillaryBuf(self):
3750 self.sendToServer(MSG)

Callers

nothing calls this directly

Calls 4

checkFlagsMethod · 0.80
doRecvmsgMethod · 0.45
assertEqualMethod · 0.45
checkRecvmsgAddressMethod · 0.45

Tested by

no test coverage detected