code: def test_python(self):
      self.assertEqual(self.evaluate(_basic_expr(True)), 1)
      self.assertEqual(self.evaluate(_basic_expr(False)), 2)
      self.assertEqual(
          conditional_expressions.if_exp(
              True, lambda: 1, lambda: 2, ""
          ),
          1,
      )
      self.assertEqual(
          conditional_expressions.if_exp(
              False, lambda: 1, lambda: 2, ""
          ),
          2,
      )
  
file_path: tensorflow-upstream/tensorflow/python/autograph/operators/conditional_expressions_test.py
imports: from tensorflow.python.autograph.operators import conditional_expressions
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the IfExpTest obj's underlying member method code with example usage: obj.test_python() without return types