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

Method _testSendmsg

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

Source from the content-addressed store, hash-verified

3486 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3487
3488 def _testSendmsg(self):
3489 self.assertEqual(self.sendmsgToServer([MSG]), len(MSG))
3490
3491 def testSendmsgDataGenerator(self):
3492 # Send from buffer obtained from a generator (not a sequence).

Callers

nothing calls this directly

Calls 2

sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected