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

Method _testSendmsgArray

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

Source from the content-addressed store, hash-verified

3509 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3510
3511 def _testSendmsgArray(self):
3512 self.assertEqual(self.sendmsgToServer([array.array("B", MSG)]),
3513 len(MSG))
3514
3515 def testSendmsgGather(self):
3516 # Send message data from more than one buffer (gather write).

Callers

nothing calls this directly

Calls 2

sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected