(self)
| 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) |