code: def test_error_if_rare_labels_not_permitted_value():
      with pytest.raises(ValueError):
          OrdinalEncoder(unseen="empanada")
  
file_path: feature_engine/tests/test_encoding/test_ordinal_encoder.py
imports: import numpy
  import pandas
  import pytest
  from feature_engine.encoding import OrdinalEncoder
label_desc: Use image node_id 11 for calling a global function with example usage: test_error_if_rare_labels_not_permitted_value() without return types