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

Method _testSendmsgGather

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

Source from the content-addressed store, hash-verified

3517 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3518
3519 def _testSendmsgGather(self):
3520 self.assertEqual(self.sendmsgToServer([MSG[:3], MSG[3:]]), len(MSG))
3521
3522 def testSendmsgBadArgs(self):
3523 # Check that sendmsg() rejects invalid arguments.

Callers

nothing calls this directly

Calls 2

sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected