code: def test_format_param_args_errors(param, details, match_error):
      """Test that format_param_args raises the expected errors
      for incorrect inputs."""
      with pytest.raises(TypeError, match=match_error):
          format_param_args(param, details)
  
file_path: pennylane/tests/data/data_manager/test_params.py
imports: import pytest
  from pennylane.data.data_manager.params import Description, ParamArg, format_param_args, format_params
label_desc: Use image node_id 2 for calling a global function with example usage: test_format_param_args_errors(param, details, match_error) without return types