code: def test_inverse_type_error(env_boston):
      """Test that an error is raised if an `EngineerStep` function returns an extra value that is
      not a function or class instance. Extra return values are used for inverse transformations
      """
      with pytest.raises(
          TypeError,
          match="`inversion` must be callable, or class with .*",
      ):
          exp = CVExperiment(
              model_initializer=Ridge,
              model_init_params={},
              feature_engineer=FeatureEngineer(
                  [bad_quantile_transform]
              ),
          )
  
file_path: hyperparameter_hunter/tests/integration_tests/feature_engineering/test_support.py
imports: from hyperparameter_hunter import Environment, CVExperiment, FeatureEngineer, EngineerStep
  from hyperparameter_hunter import Categorical, GBRT
  from hyperparameter_hunter.utils.learning_utils import get_boston_data
  import pytest
  from sklearn.linear_model import Ridge
  from sklearn.model_selection import train_test_split
  from sklearn.preprocessing import QuantileTransformer, StandardScaler
label_desc: Use image node_id 7 for calling a global function with example usage: test_inverse_type_error(env_boston) without return types