(self)
| 247 | serv.getsockname()) |
| 248 | |
| 249 | def testSendall(self): |
| 250 | # Test sendall() timeout |
| 251 | with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as serv: |
| 252 | socket_helper.bind_port(serv, self.localhost) |
| 253 | serv.listen() |
| 254 | self.sock.connect(serv.getsockname()) |
| 255 | # Send a lot of data in order to bypass buffering in the TCP stack. |
| 256 | self._sock_operation(100, 1.5, 'sendall', b"X" * 200000) |
| 257 | |
| 258 | |
| 259 | class UDPTimeoutTestCase(TimeoutTestCase): |
nothing calls this directly
no test coverage detected