code: def test_est_get_params_without_modulenotfound(estimator):
      """Test that estimator test parameters do not rely on soft dependencies."""
      if estimator.__name__ in EXCEPTED_FROM_GET_PARAMS_CHECK:
          return None
  
      try:
          estimator.get_test_params()
      except ModuleNotFoundError as e:
          error_msg = str(e)
          raise RuntimeError(
              f"Estimator {estimator.__name__} requires soft dependencies for parameters "
              f"returned by get_test_params. Test parameters should not require "
              f"soft dependencies and use only sktime internal objects. "
              f"Exception text: {error_msg}"
          ) from e
  
imports: import pkgutil
  import re
  from importlib import import_module
  import pytest
  from sktime.registry import all_estimators
  from sktime.tests._config import EXCLUDE_ESTIMATORS
  from sktime.utils._testing.scenarios_getter import retrieve_scenarios
  from sktime.utils.validation._dependencies import _check_python_version, _check_soft_dependencies
label_desc: Use image node_id 15 for calling a global function with example usage: test_est_get_params_without_modulenotfound(estimator) and returns: None