code: def test_value_error_check():
      feat = FourierFeaturizer(m=12)
      with pytest.raises(ValueError) as ve:
          feat._check_y_X(wineind, None, null_allowed=False)
      assert "non-None" 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 3 for calling a global function with example usage: test_value_error_check() without return types