code: def test_fit_raises_error_if_user_dictionary_key_not_in_df(
      df_cyclical,
  ):
      with pytest.raises(KeyError):
          transformer = CyclicalFeatures(max_values={"dayi": 31})
          transformer.fit(df_cyclical)
  
file_path: feature_engine/tests/test_creation/test_cyclical_features.py
imports: import pandas
  import pytest
  from numpy import array
  from feature_engine.creation import CyclicalFeatures
label_desc: Use image node_id 6 for calling a global function with example usage: test_fit_raises_error_if_user_dictionary_key_not_in_df(df_cyclical) without return types