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

Method _testRecvFromNegative

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

Source from the content-addressed store, hash-verified

3252 self.assertRaises(ValueError, self.serv.recvfrom, -1)
3253
3254 def _testRecvFromNegative(self):
3255 self.cli.sendto(MSG, 0, (HOST, self.port))
3256
3257# Tests for the sendmsg()/recvmsg() interface. Where possible, the
3258# 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