code: def test_conditional_else_only_then_default(self):
      def f(x):
          if x < 0:
              x *= x
          else:
              return x
          return x
  
      self.assertTransformedEquivalent(f, 2)
      self.assertTransformedEquivalent(f, -2)
  
imports: from tensorflow.python.autograph.converters import functions
  from tensorflow.python.autograph.converters import return_statements
  from tensorflow.python.autograph.core import converter_testing
  from tensorflow.python.framework import ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 8 for calling the SingleReturnTest obj's underlying member method code with example usage: obj.test_conditional_else_only_then_default() and returns: x, x