code: def test_stitch_fixed_and_free_params(
      fixed_lags,
      free_lags,
      fixed_params,
      free_params,
      spec_lags,
      expected_all_params,
  ):
      actual_all_params = _stitch_fixed_and_free_params(
          fixed_lags, fixed_params, free_lags, free_params, spec_lags
      )
      assert actual_all_params == expected_all_params
  
imports: import numpy
  import pytest
  from numpy.testing import assert_allclose
  from statsmodels.tsa.innovations.arma_innovations import arma_innovations
  from statsmodels.tsa.arima.datasets.brockwell_davis_2002 import lake
  from statsmodels.tsa.arima.estimators.hannan_rissanen import hannan_rissanen, _validate_fixed_params, _package_fixed_and_free_params_info, _stitch_fixed_and_free_params
  from statsmodels.tsa.arima.specification import SARIMAXSpecification
  from statsmodels.tools.tools import Bunch
label_desc: Use image node_id 10 for calling a global function with example usage: test_stitch_fixed_and_free_params(fixed_lags, free_lags, fixed_params, free_params, spec_lags, expected_all_params) without return types