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

Method _testRecvFromNegative

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

Source from the content-addressed store, hash-verified

3221 self.assertRaises(ValueError, self.serv.recvfrom, -1)
3222
3223 def _testRecvFromNegative(self):
3224 self.cli.sendto(MSG, 0, (HOST, self.port))
3225
3226
3227@unittest.skipUnless(HAVE_SOCKET_UDPLITE,

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected