code: def test_raise_exception_for_wrong_transformation():
      regr = linear_model_tree(X=X, y=Y)
      input_bounds = {
          0: (min(X[:, 0]), max(X[:, 0])),
          1: (min(X[:, 1]), max(X[:, 1])),
      }
      model_def = LinearTreeDefinition(
          regr, unscaled_input_bounds=input_bounds
      )
      with pytest.raises(
          Exception,
          match="Supported transformations are: bigm, mbigm, hull, and custom",
      ):
          formulation = LinearTreeGDPFormulation(
              model_def, transformation="hello"
          )
  
imports: import numpy
  import pyomo.environ
  import pytest
  from omlt.dependencies import lineartree_available
  from pytest import approx
  from omlt import OmltBlock
  import omlt
label_desc: Use image node_id 16 for calling a global function with example usage: test_raise_exception_for_wrong_transformation() without return types