class_docstr: Test class for `FallOut` metric.
class_docstr_tok: ["Test","class","for","`","FallOut","`","metric","."]
docstr: Test that specific errors are raised for incorrect input.
docstr_tok: ["Test","that","specific","errors","are","raised","for","incorrect","input","."]
code: def test_arguments_class_metric(
      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=RetrievalFallOut,
          message=message,
          metric_args=metric_args,
          exception_type=ValueError,
          kwargs_update={},
      )
  
file_path: torchmetrics/tests/unittests/retrieval/test_fallout.py
imports: from typing import Callable, Optional, Union
  import numpy
  import pytest
  from torch import Tensor
  from torchmetrics.functional.retrieval.fall_out import retrieval_fall_out
  from torchmetrics.retrieval.fall_out import RetrievalFallOut
  from typing_extensions import Literal
  from unittests.helpers import seed_all
  from unittests.retrieval.helpers import RetrievalMetricTester, _concat_tests, _custom_aggregate_fn, _default_metric_class_input_arguments, _default_metric_class_input_arguments_ignore_index, _default_metric_functional_input_arguments, _errors_test_class_metric_parameters_default, _errors_test_class_metric_parameters_k, _errors_test_class_metric_parameters_no_neg_target, _errors_test_functional_metric_parameters_default, _errors_test_functional_metric_parameters_k
label_desc: Use image node_id 6 for calling the TestFallOut obj's underlying member method code with example usage: obj.test_arguments_class_metric(indexes, preds, target, message, metric_args) without return types