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

Method _testSendmsgAncillaryGenerator

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

Source from the content-addressed store, hash-verified

3398 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3399
3400 def _testSendmsgAncillaryGenerator(self):
3401 self.assertEqual(self.sendmsgToServer([MSG], (o for o in [])),
3402 len(MSG))
3403
3404 def testSendmsgArray(self):
3405 # Send data from an array instead of the usual bytes object.

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected