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

Method _testSendmsgAncillaryGenerator

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

Source from the content-addressed store, hash-verified

3501 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3502
3503 def _testSendmsgAncillaryGenerator(self):
3504 self.assertEqual(self.sendmsgToServer([MSG], (o for o in [])),
3505 len(MSG))
3506
3507 def testSendmsgArray(self):
3508 # Send data from an array instead of the usual bytes object.

Callers

nothing calls this directly

Calls 2

sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected