code: def test_create_model_no_cv(load_pos_and_neg_data):
      """test create_model without cross validation"""
      exp = TSForecastingExperiment()
      exp.setup(
          data=load_pos_and_neg_data,
          fh=12,
          fold_strategy="sliding",
          verbose=False,
      )
  
      ##################################
      # Test Create Model without cv ##
      ##################################
      model = exp.create_model("naive", cross_validation=False)
      assert not isinstance(model, ForecastingPipeline)
      metrics = exp.pull()
  
      # Should return only 1 row for the test set (since no CV)
      assert len(metrics) == 1
  
file_path: pycaret/tests/test_time_series_base.py
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from sktime.forecasting.compose import ForecastingPipeline
  from time_series_test_utils import _return_compare_model_args, _return_model_parameters
  from pycaret.time_series import TSForecastingExperiment
label_desc: Use image node_id 4 for calling a global function with example usage: test_create_model_no_cv(load_pos_and_neg_data) without return types