code: def test_create_backtesting_folds_refit_int_no_fixed_no_gap_no_remainder(
      capfd, return_all_indexes, expected
  ):
      """
      Test _create_backtesting_folds output when refit is 2, fixed_train_size is
      False, gap=0 and not remainder.
      """
      y = pd.Series(np.arange(100))
      y.index = pd.date_range(start="2022-01-01", periods=100, freq="D")
      window_size = 4
      initial_train_size = 60
      test_size = 10
      refit = 2
      fixed_train_size = False
  
      folds = _create_backtesting_folds(
          data=y,
          window_size=window_size,
          initial_train_size=initial_train_size,
          test_size=test_size,
          externally_fitted=False,
          refit=refit,
          fixed_train_size=fixed_train_size,
          gap=0,
          allow_incomplete_fold=True,
          return_all_indexes=return_all_indexes,
          verbose=True,
      )
  
      out, _ = capfd.readouterr()
      expected_out = (
          "Information of backtesting process\n"
          "----------------------------------\n"
          "Number of observations used for initial training: 60\n"
          "Number of observations used for backtesting: 40\n"
          "    Number of folds: 4\n"
          "    Number of steps per fold: 10\n"
          "    Number of steps to exclude from the end of each train set before test (gap): 0\n\n"
          "Fold: 0\n"
          "    Training:   2022-01-01 00:00:00 -- 2022-03-01 00:00:00  (n=60)\n"
          "    Validation: 2022-03-02 00:00:00 -- 2022-03-11 00:00:00  (n=10)\n"
          "Fold: 1\n"
          "    Training:   2022-01-01 00:00:00 -- 2022-03-01 00:00:00  (n=60)\n"
          "    Validation: 2022-03-12 00:00:00 -- 2022-03-21 00:00:00  (n=10)\n"
          "Fold: 2\n"
          "    Training:   2022-01-01 00:00:00 -- 2022-03-21 00:00:00  (n=80)\n"
          "    Validation: 2022-03-22 00:00:00 -- 2022-03-31 00:00:00  (n=10)\n"
          "Fold: 3\n"
          "    Training:   2022-01-01 00:00:00 -- 2022-03-21 00:00:00  (n=80)\n"
          "    Validation: 2022-04-01 00:00:00 -- 2022-04-10 00:00:00  (n=10)\n\n"
      )
  
      assert out == expected_out
      assert folds == expected
  
imports: import pytest
  import numpy
  import pandas
  from skforecast.model_selection.model_selection import _create_backtesting_folds
label_desc: Use image node_id 11 for calling a global function with example usage: test_create_backtesting_folds_refit_int_no_fixed_no_gap_no_remainder(capfd, return_all_indexes, expected) without return types