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

Method _testSendAndRecvMulti

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

Source from the content-addressed store, hash-verified

2634 self.assertEqual(self.data2, data)
2635
2636 def _testSendAndRecvMulti(self):
2637 self.data1 = b'bacon'
2638 self.cli.sendto(self.data1, 0, (HOST, self.port))
2639
2640 self.data2 = b'egg'
2641 self.cli.sendto(self.data2, 0, (HOST, self.port))
2642
2643 def testSelect(self):
2644 r, w, x = select.select([self.serv], [], [], 3.0)

Callers

nothing calls this directly

Calls 1

sendtoMethod · 0.45

Tested by

no test coverage detected