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

Method _testSendmsgGather

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

Source from the content-addressed store, hash-verified

3414 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3415
3416 def _testSendmsgGather(self):
3417 self.assertEqual(self.sendmsgToServer([MSG[:3], MSG[3:]]), len(MSG))
3418
3419 def testSendmsgBadArgs(self):
3420 # Check that sendmsg() rejects invalid arguments.

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected