code: def test_confirm_variables_in_init(val):
      with pytest.raises(ValueError):
          BaseSelector(confirm_variables=val)
  
file_path: feature_engine/tests/test_selection/test_base_selector.py
imports: import pytest
  from pandas.testing import assert_frame_equal
  from feature_engine.selection.base_selector import BaseSelector
label_desc: Use image node_id 1 for calling a global function with example usage: test_confirm_variables_in_init(val) without return types