code: def test_parameter_validation_raises_error_when_default_value_is_wrong_type():
      with pytest.raises(TypeError):
          slu.validate_parameter(None, {1, 2}, ("10", "inherit"), int)
  
file_path: solt/tests/test_utils.py
imports: import solt.utils
  import solt.transforms
  import solt.core
  import pytest
  import json
  import pathlib
  import yaml
label_desc: Use image node_id 4 for calling a global function with example usage: test_parameter_validation_raises_error_when_default_value_is_wrong_type() without return types