code: def test_function_param_validation(func_module):
      """Check param validation for public functions that are not wrappers around
      estimators.
      """
      func, func_name, func_params, required_params = _get_func_info(
          func_module
      )
  
      parameter_constraints = getattr(
          func, "_skl_parameter_constraints"
      )
  
      _check_function_param_validation(
          func,
          func_name,
          func_params,
          required_params,
          parameter_constraints,
      )
  
file_path: scikit-learn/sklearn/tests/test_public_functions.py
imports: from importlib import import_module
  from inspect import signature
  from numbers import Integral, Real
  import pytest
  from sklearn.utils._param_validation import Interval, InvalidParameterError, generate_invalid_param_val, generate_valid_param, make_constraint
label_desc: Use image node_id 3 for calling a global function with example usage: test_function_param_validation(func_module) without return types