code: def test_unbiased_error_with_fixed_params():
      # unbiased=True with fixed params should throw NotImplementedError for now
      endog = np.random.normal(size=1000)
      msg = (
          "Third step of Hannan-Rissanen estimation to remove parameter bias"
          " is not yet implemented for the case with fixed parameters."
      )
      with pytest.raises(NotImplementedError, match=msg):
          hannan_rissanen(
              endog,
              ar_order=1,
              ma_order=1,
              unbiased=True,
              fixed_params={"ar.L1": 0},
          )
  
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 12 for calling a global function with example usage: test_unbiased_error_with_fixed_params() without return types