code: def handleError(self, test, err):
          
          # pylint:disable=invalid-name
          want_error = self._handle_test_error_or_failure(test, err)
          if not want_error and id(test) in self._tests_that_reran:
              self._nose_result.addError(test, err)
          return want_error or None
docs: Baseclass override. Called when a test raises an exception.
  
          If the test isn't going to be rerun again, then report the error
          to the nose test result.
  
          :param test:
              The test that has raised an error
          :type test:
              :class:`nose.case.Test`
          :param err:
              Information about the test failure (from sys.exc_info())
          :type err:
              `tuple` of `class`, :class:`Exception`, `traceback`
          :return:
              True, if the test will be rerun; False, if nose should handle it.
          :rtype:
              `bool`