code: def test_error_if_missing_values_not_bool():
      with pytest.raises(ValueError):
          ArbitraryOutlierCapper(missing_values="other")
  
file_path: feature_engine/tests/test_outliers/test_arbitrary_capper.py
imports: import numpy
  import pandas
  import pytest
  from feature_engine.outliers import ArbitraryOutlierCapper
label_desc: Use image node_id 8 for calling a global function with example usage: test_error_if_missing_values_not_bool() without return types