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

Method _testSendmsgArray

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

Source from the content-addressed store, hash-verified

3406 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3407
3408 def _testSendmsgArray(self):
3409 self.assertEqual(self.sendmsgToServer([array.array("B", MSG)]),
3410 len(MSG))
3411
3412 def testSendmsgGather(self):
3413 # Send message data from more than one buffer (gather write).

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected