parameters: (self)
docstring: Invoked once after all iterations are complete, or on failure.
docstring_summary: Invoked once after all iterations are complete, or on failure.
docstring_tokens: Invoked once after all iterations are complete or on failure .
function: def _TearDown(self):
      """Invoked once after all iterations are complete, or on failure."""
      if self._profile_dir_is_temp:
        _LOGGER.info('Deleting temporary profile directory "%s".',
                     self._profile_dir)
        shutil.rmtree(self._profile_dir, ignore_errors=True)
  
      if self._http_server:
        self._http_server.shutdown()
        self._http_server = None
function_tokens: def _TearDown ( self ) : if self . _profile_dir_is_temp : _LOGGER . info ( 'Deleting temporary profile directory "%s".' , self . _profile_dir ) shutil . rmtree ( self . _profile_dir , ignore_errors = True ) if self . _http_server : self . _http_server . shutdown ( ) self . _http_server = None