code: def testNestedWith(self):
      x = []
      with test_yield_append_before_and_after_yield(
          x, "before", "after"
      ):
          with test_yield_append_before_and_after_yield(
              x, "inner", "outer"
          ):
              with test_yield_return_x_plus_1(1) as var:
                  x.append(var)
      self.assertEqual(["before", "inner", 2, "outer", "after"], x)
  
file_path: tensorflow-upstream/tensorflow/python/util/tf_contextlib_test.py
imports: from tensorflow.python.platform import test
  from tensorflow.python.util import tf_contextlib
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 3 for calling the TfContextlibTest obj's underlying member method code with example usage: obj.testNestedWith() without return types