code: def __init__(self, behavior="basic"):
      self.log = []
      self.behavior = behavior
  
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 1 to create a new TestContextManager object from inherited base classes: object with example: obj = TestContextManager(behavior)