(self, exception)
| 332 | |
| 333 | class BaseErrorTestServer(socketserver.TCPServer): |
| 334 | def __init__(self, exception): |
| 335 | self.exception = exception |
| 336 | super().__init__((HOST, 0), BadHandler) |
| 337 | with socket.create_connection(self.server_address): |
| 338 | pass |
| 339 | try: |
| 340 | self.handle_request() |
| 341 | finally: |
| 342 | self.server_close() |
| 343 | self.wait_done() |
| 344 | |
| 345 | def handle_error(self, request, client_address): |
| 346 | with open(os_helper.TESTFN, 'a') as log: |
no test coverage detected