code: def test_are_pipeline_tansformations_empty_noexo(
      load_pos_data_missing,
  ):
      """Tests _are_pipeline_tansformations_empty, _transformations_present_X, and
      _transformations_present_y WITHOUT exogenous variables"""
      y = load_pos_data_missing
  
      y_no_miss = y.copy()
      y_no_miss.fillna(10, inplace=True)
  
      exp = TSForecastingExperiment()
      FH = 12
  
      ###############################
      # 1: Not Empty Pipeline ####
      ###############################
  
      # 1A: Data has missing values ----
      exp.setup(data=y, fh=FH, numeric_imputation_target="drift")
      assert not _transformations_present_X(pipeline=exp.pipeline)
      assert _transformations_present_y(pipeline=exp.pipeline)
      assert not _are_pipeline_tansformations_empty(
          pipeline=exp.pipeline
      )
  
      # 1B: Data has no missing values, but y impute step added ----
      # Even though data has no missing values, imputation step is added as user has requested
      exp.setup(
          data=y_no_miss, fh=FH, numeric_imputation_target="drift"
      )
      assert not _are_pipeline_tansformations_empty(
          pipeline=exp.pipeline
      )
  
      ###########################
      # 2: Empty Pipeline ####
      ###########################
  
      # 2A: No Imputation in Pipeline ----
      exp.setup(data=y_no_miss, fh=FH)
      assert not _transformations_present_X(pipeline=exp.pipeline)
      assert not _transformations_present_y(pipeline=exp.pipeline)
      assert _are_pipeline_tansformations_empty(pipeline=exp.pipeline)
  
file_path: pycaret/tests/test_time_series_utils_forecasting_pipeline.py
imports: import numpy
  import pytest
  from sktime.forecasting.naive import NaiveForecaster
  from pycaret.time_series import TSForecastingExperiment
  from pycaret.utils.time_series.forecasting.models import DummyForecaster
  from pycaret.utils.time_series.forecasting.pipeline import _add_model_to_pipeline, _are_pipeline_tansformations_empty, _get_imputed_data, _transformations_present_X, _transformations_present_y
label_desc: Use image node_id 3 for calling a global function with example usage: test_are_pipeline_tansformations_empty_noexo(load_pos_data_missing) without return types