MCPcopy Index your code
hub / github.com/python/cpython / handle_error

Method handle_error

Lib/test/test_imaplib.py:282–288  ·  view source on GitHub ↗

End request and raise the error if one occurs.

(self, request, client_address)

Source from the content-addressed store, hash-verified

280 """
281 class TestTCPServer(self.server_class):
282 def handle_error(self, request, client_address):
283 """
284 End request and raise the error if one occurs.
285 """
286 self.close_request(request)
287 self.server_close()
288 raise
289
290 self.addCleanup(self._cleanup)
291 self.server = self.server_class((socket_helper.HOST, 0), imap_handler)

Callers

nothing calls this directly

Calls 2

close_requestMethod · 0.45
server_closeMethod · 0.45

Tested by

no test coverage detected