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

Method _testRecvFrom

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

Source from the content-addressed store, hash-verified

3214 self.assertEqual(msg, MSG)
3215
3216 def _testRecvFrom(self):
3217 self.cli.sendto(MSG, 0, (HOST, self.port))
3218
3219 def testRecvFromNegative(self):
3220 # Negative lengths passed to recvfrom should give ValueError.

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected