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

Method _testRecvFromNegative

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

Source from the content-addressed store, hash-verified

3118 self.assertRaises(ValueError, self.serv.recvfrom, -1)
3119
3120 def _testRecvFromNegative(self):
3121 self.cli.sendto(MSG, 0, (HOST, self.port))
3122
3123
3124@unittest.skipUnless(HAVE_SOCKET_UDPLITE,

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected