(self, exception)
| 344 | |
| 345 | class BaseErrorTestServer(socketserver.TCPServer): |
| 346 | def __init__(self, exception): |
| 347 | self.exception = exception |
| 348 | super().__init__((HOST, 0), BadHandler) |
| 349 | with socket.create_connection(self.server_address): |
| 350 | pass |
| 351 | try: |
| 352 | self.handle_request() |
| 353 | finally: |
| 354 | self.server_close() |
| 355 | self.wait_done() |
| 356 | |
| 357 | def handle_error(self, request, client_address): |
| 358 | with open(os_helper.TESTFN, 'a') as log: |
no test coverage detected