code: def test_bootstrapping_transformer_series_shorter_than_sp():
      """Tests that an exception is raised if sp>len(y)."""
      with pytest.raises(ValueError) as ex:
          transformer = STLBootstrapTransformer(sp=12)
          transformer.fit(y.iloc[1:9])
  
          msg = "STLBootstrapTransformer requires that sp is greater than the length of X"
  
          assert msg == ex.value
  
file_path: sktime/sktime/transformations/bootstrap/tests/test_mbb.py
imports: import pandas
  import pytest
  from sktime.datasets import load_airline
  from sktime.transformations.bootstrap import MovingBlockBootstrapTransformer, STLBootstrapTransformer
  from sktime.transformations.bootstrap._mbb import _get_series_name, _moving_block_bootstrap
  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_bootstrapping_transformer_series_shorter_than_sp() without return types