code: def test_error_when_not_permitted_threshold(_threshold):
      with pytest.raises(ValueError):
          SelectByInformationValue(threshold=_threshold)
  
file_path: feature_engine/tests/test_selection/test_information_value.py
imports: import math
  import numpy
  import pandas
  import pytest
  from feature_engine.selection import SelectByInformationValue
label_desc: Use image node_id 1 for calling a global function with example usage: test_error_when_not_permitted_threshold(_threshold) without return types