code: def test_control_dependency_on_returns(self):
      # Just dry run them.
      with context_managers.control_dependency_on_returns(None):
          pass
      with context_managers.control_dependency_on_returns(
          constant_op.constant(1)
      ):
          pass
      with context_managers.control_dependency_on_returns(
          tensor_array_ops.TensorArray(dtypes.int32, size=1)
      ):
          pass
      with context_managers.control_dependency_on_returns(
          [constant_op.constant(1), constant_op.constant(2)]
      ):
          pass
  
file_path: tensorflow-upstream/tensorflow/python/autograph/utils/context_managers_test.py
imports: from tensorflow.python.autograph.utils import context_managers
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the ContextManagersTest obj's underlying member method code with example usage: obj.test_control_dependency_on_returns() without return types