code: def test_python(self):
      self.assertEqual(_basic_expr(True), 1)
      self.assertEqual(_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,
      )
  
imports: import unittest
  from nvidia.dali._autograph.operators import conditional_expressions
label_desc: Use image node_id 1 for calling the IfExpTest obj's underlying member method code with example usage: obj.test_python() without return types