code: def test_categorical_init_mixin_raises_error(param):
      with pytest.raises(ValueError):
          CategoricalInitMixin(ignore_format=param)
  
file_path: feature_engine/tests/test_encoding/test_base_encoder.py
imports: import numpy
  import pandas
  import pytest
  from feature_engine.encoding.base_encoder import CategoricalInitMixin, CategoricalMethodsMixin
label_desc: Use image node_id 1 for calling a global function with example usage: test_categorical_init_mixin_raises_error(param) without return types