code: def test_error_if_base_value_not_allowed():
      with pytest.raises(ValueError):
          LogCpTransformer(base="other")
  
file_path: feature_engine/tests/test_transformation/test_logcp_transformer.py
imports: import pandas
  import pytest
  from sklearn.exceptions import NotFittedError
  from feature_engine.transformation import LogCpTransformer
label_desc: Use image node_id 6 for calling a global function with example usage: test_error_if_base_value_not_allowed() without return types