(self)
| 228 | self._sock_operation(1, 1.5, 'accept') |
| 229 | |
| 230 | def testSend(self): |
| 231 | # Test send() timeout |
| 232 | with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as serv: |
| 233 | socket_helper.bind_port(serv, self.localhost) |
| 234 | serv.listen() |
| 235 | self.sock.connect(serv.getsockname()) |
| 236 | # Send a lot of data in order to bypass buffering in the TCP stack. |
| 237 | self._sock_operation(100, 1.5, 'send', b"X" * 200000) |
| 238 | |
| 239 | def testSendto(self): |
| 240 | # Test sendto() timeout |
nothing calls this directly
no test coverage detected