code: def test_select_n_jobs_backtesting(
      forecaster, refit, n_jobs_expected
  ):
      """
      Test select_n_jobs_backtesting
      """
      n_jobs = select_n_jobs_backtesting(
          forecaster=forecaster, refit=refit
      )
  
      assert n_jobs == n_jobs_expected
  
file_path: skforecast/skforecast/utils/tests/test_select_n_jobs_backtesting.py
imports: import pytest
  from joblib import cpu_count
  from sklearn.pipeline import make_pipeline
  from sklearn.preprocessing import StandardScaler
  from sklearn.linear_model import LinearRegression
  from sklearn.ensemble import HistGradientBoostingRegressor
  from skforecast.utils.utils import select_n_jobs_backtesting
  from skforecast.ForecasterBase import ForecasterBase
  from skforecast.ForecasterAutoreg import ForecasterAutoreg
  from skforecast.ForecasterAutoregDirect import ForecasterAutoregDirect
  from skforecast.ForecasterAutoregMultiSeries import ForecasterAutoregMultiSeries
  from skforecast.Sarimax import Sarimax
  from skforecast.ForecasterSarimax import ForecasterSarimax
  from skforecast.ForecasterBaseline import ForecasterEquivalentDate
label_desc: Use image node_id 1 for calling a global function with example usage: test_select_n_jobs_backtesting(forecaster, refit, n_jobs_expected) without return types