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

Method _testSendmsgExplicitNoneAddr

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

Source from the content-addressed store, hash-verified

3605 self.assertEqual(self.serv_sock.recv(len(MSG)), MSG)
3606
3607 def _testSendmsgExplicitNoneAddr(self):
3608 self.assertEqual(self.sendmsgToServer([MSG], [], 0, None), len(MSG))
3609
3610 def testSendmsgTimeout(self):
3611 # Check that timeout works with sendmsg().

Callers

nothing calls this directly

Calls 2

sendmsgToServerMethod · 0.80
assertEqualMethod · 0.45

Tested by

no test coverage detected