(self)
| 544 | ThreadableTest.__init__(self) |
| 545 | |
| 546 | def clientSetUp(self): |
| 547 | self.cli = socket.socket(socket.PF_RDS, socket.SOCK_SEQPACKET, 0) |
| 548 | try: |
| 549 | # RDS sockets must be bound explicitly to send or receive data |
| 550 | self.cli.bind((HOST, 0)) |
| 551 | self.cli_addr = self.cli.getsockname() |
| 552 | except OSError: |
| 553 | # skipTest should not be called here, and will be called in the |
| 554 | # server instead |
| 555 | pass |
| 556 | |
| 557 | def clientTearDown(self): |
| 558 | self.cli.close() |
nothing calls this directly
no test coverage detected