code: def test_setup_raises(fold, fh, fold_strategy, load_pos_and_neg_data):
      """Tests conditions that raise an error due to lack of data"""
  
      from pycaret.time_series import setup
  
      with pytest.raises(ValueError) as errmsg:
          _ = setup(
              data=load_pos_and_neg_data,
              fold=fold,
              fh=fh,
              fold_strategy=fold_strategy,
          )
  
      exceptionmsg = errmsg.value.args[0]
  
      assert (
          exceptionmsg
          == "Not Enough Data Points, set a lower number of folds or fh"
      )
  
imports: import math
  import numpy
  import pandas
  import pytest
  from time_series_test_utils import _get_seasonal_values, _get_seasonal_values_alphanumeric, _return_data_seasonal_types_strictly_pos, _return_setup_args_raises, _return_splitter_args
  from pycaret.datasets import get_data
  from pycaret.time_series import TSForecastingExperiment
label_desc: Use image node_id 3 for calling a global function with example usage: test_setup_raises(fold, fh, fold_strategy, load_pos_and_neg_data) without return types