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

Method _testRecvFromNegative

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

Source from the content-addressed store, hash-verified

3149 self.assertRaises(ValueError, self.serv.recvfrom, -1)
3150
3151 def _testRecvFromNegative(self):
3152 self.cli.sendto(MSG, 0, (HOST, self.port))
3153
3154# Tests for the sendmsg()/recvmsg() interface. Where possible, the
3155# same test code is used with different families and types of socket

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected