code: def test_nested_orelse(self):
      def f(x):
          y = x * x if x > 0 else x if x else 1
          return y
  
      self.assertTransformedEquivalent(f, -2)
      self.assertTransformedEquivalent(f, 0)
      self.assertTransformedEquivalent(f, 2)
  
file_path: tensorflow-upstream/tensorflow/python/autograph/converters/conditional_expressions_test.py
imports: from tensorflow.python.autograph.converters import conditional_expressions
  from tensorflow.python.autograph.core import converter_testing
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the ConditionalExpressionsTest obj's underlying member method code with example usage: obj.test_nested_orelse() and returns: y