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

Method testRecvFrom

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

Source from the content-addressed store, hash-verified

3089 self.serv_conn.send(MSG)
3090
3091 def testRecvFrom(self):
3092 # Testing large recvfrom() over TCP
3093 msg, addr = self.cli_conn.recvfrom(1024)
3094 self.assertEqual(msg, MSG)
3095
3096 def _testRecvFrom(self):
3097 self.serv_conn.send(MSG)

Callers

nothing calls this directly

Calls 2

recvfromMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected