code: def test_metric_auto_param_call(self):
      metric = AutoParamCallMetric()
      with pytest.raises(BaseException):
          auto_param_call(
              metric.update,
              {"y": 1},
              signature_fn=metric.update.__wrapped__,
          )
  
file_path: fastNLP/tests/core/utils/test_utils.py
imports: from functools import partial
  import pytest
  from fastNLP.core.utils.utils import auto_param_call, _check_valid_parameters_number, _get_fun_msg
  from fastNLP.core.metrics import Metric
label_desc: Use image node_id 5 for calling the TestAutoParamCall obj's underlying member method code with example usage: obj.test_metric_auto_param_call() without return types