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

Method testSendAndRecvMulti

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

Source from the content-addressed store, hash-verified

2627 self.cli.sendmsg([self.data], (), 0, (HOST, self.port))
2628
2629 def testSendAndRecvMulti(self):
2630 data, addr = self.serv.recvfrom(self.bufsize)
2631 self.assertEqual(self.data1, data)
2632
2633 data, addr = self.serv.recvfrom(self.bufsize)
2634 self.assertEqual(self.data2, data)
2635
2636 def _testSendAndRecvMulti(self):
2637 self.data1 = b'bacon'

Callers

nothing calls this directly

Calls 2

recvfromMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected