def METHOD_NAME(self):
    """Raise an exception if there was an issue or a regression was
    detected.
    """
    if self._failure_aggregator.has_any():
        self._failure_aggregator.result = self._result
        # If we had Python 3.11 we could use ExceptionGroup
        raise self._failure_aggregator