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

Method testOverFlowRecvFrom

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

Source from the content-addressed store, hash-verified

3097 self.serv_conn.send(MSG)
3098
3099 def testOverFlowRecvFrom(self):
3100 # Testing recvfrom() in chunks over TCP
3101 seg1, addr = self.cli_conn.recvfrom(len(MSG)-3)
3102 seg2, addr = self.cli_conn.recvfrom(1024)
3103 msg = seg1 + seg2
3104 self.assertEqual(msg, MSG)
3105
3106 def _testOverFlowRecvFrom(self):
3107 self.serv_conn.send(MSG)

Callers

nothing calls this directly

Calls 2

recvfromMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected