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

Method _testSendmsg

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

Source from the content-addressed store, hash-verified

3383 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3384
3385 def _testSendmsg(self):
3386 self.assertEqual(self.sendmsgToServer([MSG]), len(MSG))
3387
3388 def testSendmsgDataGenerator(self):
3389 # Send from buffer obtained from a generator (not a sequence).

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected