code: def test_iv_dictionary(df_enc):
      sel = SelectByInformationValue().fit(
          df_enc[["var_A", "var_B"]], df_enc["target"]
      )
      expected_dict = {
          "var_A": 0.29706307738283366,
          "var_B": 0.29706307738283366,
      }
      assert sel.information_values_ == expected_dict
  
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 6 for calling a global function with example usage: test_iv_dictionary(df_enc) without return types