code: def test_error_if_capping_method_not_permitted():
      # test error raises
      with pytest.raises(ValueError):
          Winsorizer(capping_method="other")
  
imports: import math
  import numpy
  import pandas
  import pytest
  from feature_engine.outliers import Winsorizer
label_desc: Use image node_id 15 for calling a global function with example usage: test_error_if_capping_method_not_permitted() without return types