code: def test_value_error_on_fit():
      feat = FourierFeaturizer(m=12, k=8)
      with pytest.raises(ValueError) as ve:
          feat.fit_transform(wineind)
      assert "k must be" in pytest_error_str(ve)
  
file_path: pmdarima/pmdarima/preprocessing/exog/tests/test_fourier.py
imports: import numpy
  from numpy.testing import assert_array_almost_equal
  from pmdarima.preprocessing.exog import FourierFeaturizer
  from pmdarima.compat.pytest import pytest_error_str
  import pmdarima
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_value_error_on_fit() without return types