code: def test_msg(self):
      with pytest.raises(BaseException) as exc_info:
          auto_param_call(self.call_this, {"x": 1})
      assert "TestAutoParamCall.call_this" in exc_info.value.args[0]
  
      with pytest.raises(BaseException) as exc_info:
          auto_param_call(call_this_for_auto_param_call, {"x": 1})
      assert __file__ in exc_info.value.args[0]
      assert "call_this_for_auto_param_call" in exc_info.value.args[0]
  
      with pytest.raises(BaseException) as exc_info:
          auto_param_call(self.call_this_two, {"x": 1})
      assert __file__ in exc_info.value.args[0]
  
      with pytest.raises(BaseException) as exc_info:
          auto_param_call(
              call_this_for_auto_param_call,
              {"x": 1},
              signature_fn=self.call_this,
          )
      assert "TestAutoParamCall.call_this" in exc_info.value.args[0]
  
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 2 for calling the TestAutoParamCall obj's underlying member method code with example usage: obj.test_msg() without return types