code: def test_seasonality_type_no_season(
      index: str, seasonality_type: str
  ):
      """Tests the detection of the seasonality type with data that has no seasonality.
  
      Parameters
      ----------
      index : str
          Type of index. Options are: "RangeIndex" and "DatetimeIndex"
      seasonality_type : str
          The seasonality type to pass to setup
      """
      # Create base data without seasonality
      N = 100
      y = pd.Series(
          np.arange(100, 100 + N)
      )  # No negative values when creating final y
  
      # RangeIndex is default index
      if index == "DatetimeIndex":
          dates = pd.date_range(
              start="2020-01-01", periods=N, freq="MS"
          )
          y.index = dates
  
      err_msg = (
          "Expected seasonality_type = None, but got something else."
      )
      exp = TSForecastingExperiment()
      exp.setup(
          data=y, seasonality_type=seasonality_type, session_id=42
      )
      assert exp.seasonality_type is None, err_msg
  
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 17 for calling a global function with example usage: test_seasonality_type_no_season(index, seasonality_type) without return types