code: def __exit__(self, ex_type, ex_value, ex_tb):
      self.log.append(
          "__exit__(%s, %s, %s)" % (ex_type, ex_value, ex_tb)
      )
      if self.behavior == "raise_from_exit":
          raise ValueError("exception in __exit__")
      if self.behavior == "suppress_exception":
          return True
  
file_path: tensorflow/tensorflow/python/framework/py_context_manager_test.py
imports: from tensorflow.python.framework import _py_context_manager
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the TestContextManager obj's underlying member method code with example usage: obj.__exit__(ex_type, ex_value, ex_tb) and returns: True