code: def test_lambda_bounds(bounds, method, sp):
      y = load_airline()
      t = BoxCoxTransformer(bounds=bounds, method=method, sp=sp)
      t.fit(y)
      assert bounds[0] < t.lambda_ < bounds[1]
  
imports: import numpy
  import pytest
  from sktime.datasets import load_airline
  from sktime.transformations.series.boxcox import BoxCoxTransformer
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 2 for calling a global function with example usage: test_lambda_bounds(bounds, method, sp) without return types