code: def test_error_if_func_is_dictionary():
      with pytest.raises(NotImplementedError):
          MathFeatures(
              variables=["Age", "Name"], func={"A": "sum", "B": "mean"}
          )
  
imports: import numpy
  import pandas
  import pytest
  from sklearn.pipeline import Pipeline
  from feature_engine.creation import MathFeatures
label_desc: Use image node_id 3 for calling a global function with example usage: test_error_if_func_is_dictionary() without return types