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

Method _testRecvFrom

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

Source from the content-addressed store, hash-verified

3111 self.assertEqual(msg, MSG)
3112
3113 def _testRecvFrom(self):
3114 self.cli.sendto(MSG, 0, (HOST, self.port))
3115
3116 def testRecvFromNegative(self):
3117 # Negative lengths passed to recvfrom should give ValueError.

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected