(self)
| 2530 | self.assertEqual(self.data2, data) |
| 2531 | |
| 2532 | def _testSendAndRecvMulti(self): |
| 2533 | self.data1 = b'bacon' |
| 2534 | self.cli.sendto(self.data1, 0, (HOST, self.port)) |
| 2535 | |
| 2536 | self.data2 = b'egg' |
| 2537 | self.cli.sendto(self.data2, 0, (HOST, self.port)) |
| 2538 | |
| 2539 | def testSelect(self): |
| 2540 | r, w, x = select.select([self.serv], [], [], 3.0) |