code: def test_evaluate_illegal_assignment_should_raise(self):
      feature = Feature("   5 +x1 *    (4-x2)")
      self.assertRaises(
          ValueError, feature.evaluate, {"x1": 6.3, "x2": True}
      )
      self.assertRaises(
          ValueError, feature.evaluate, {"x1": 6.3, "x2": "True"}
      )
      self.assertRaises(ValueError, feature.evaluate, {"x1": 6.3})
  
file_path: AIX360/tests/rule_induction/trxf/core/test_feature.py
imports: import tokenize
  from unittest import TestCase
  from aix360.algorithms.rule_induction.trxf.core.feature import Feature, _shunting_yard
label_desc: Use image node_id 4 for calling the TestFeature obj's underlying member method code with example usage: obj.test_evaluate_illegal_assignment_should_raise() without return types