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

Method _testRecvFrom

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

Source from the content-addressed store, hash-verified

3142 self.assertEqual(msg, MSG)
3143
3144 def _testRecvFrom(self):
3145 self.cli.sendto(MSG, 0, (HOST, self.port))
3146
3147 def testRecvFromNegative(self):
3148 # Negative lengths passed to recvfrom should give ValueError.

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected