code: def test_numpy_array_fails():
      feat = DateFeaturizer(column_name="date")
      with pytest.raises(TypeError) as te:
          feat.fit_transform(y, X.values)
  
      assert "X must be" in pytest_error_str(te)
  
file_path: pmdarima/pmdarima/preprocessing/exog/tests/test_dates.py
imports: from pmdarima.datasets._base import load_date_example
  from pmdarima.preprocessing.exog import DateFeaturizer
  from pmdarima.compat.pytest import pytest_error_str
  from numpy.testing import assert_array_equal
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_numpy_array_fails() without return types