code: def test_no_options_warns():
      feat = DateFeaturizer(
          column_name="date",
          with_day_of_month=False,
          with_day_of_week=False,
      )
  
      with pytest.warns(UserWarning) as w:
          y_prime, X_prime = feat.fit_transform(y, X)
  
      assert w is not None
      assert_array_equal(y, y_prime)
      assert X.equals(X_prime)
  
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 1 for calling a global function with example usage: test_no_options_warns() without return types