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

Method _testRecvFrom

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

Source from the content-addressed store, hash-verified

3245 self.assertEqual(msg, MSG)
3246
3247 def _testRecvFrom(self):
3248 self.cli.sendto(MSG, 0, (HOST, self.port))
3249
3250 def testRecvFromNegative(self):
3251 # Negative lengths passed to recvfrom should give ValueError.

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected