def METHOD_NAME(
    self, indexes: Tensor, preds: Tensor, target: Tensor, message: str, metric_args: dict
):
    """Test that specific errors are raised for incorrect input."""
    self.run_metric_class_arguments_test(
        indexes=indexes,
        preds=preds,
        target=target,
        metric_class=RetrievalMRR,
        message=message,
        metric_args=metric_args,
        exception_type=ValueError,
        kwargs_update={},
    )