code: def tearDown(self):
      super().tearDown()
      # test for disable eager test
      ops.disable_eager_execution()
      self.assertFalse(context.executing_eagerly())
  
      # Calling disable eager execution a second time should not cause an error.
      ops.disable_eager_execution()
      self.assertFalse(context.executing_eagerly())
  
file_path: tensorflow-upstream/tensorflow/python/framework/ops_enable_eager_test.py
imports: from tensorflow.python.eager import context
  from tensorflow.python.framework import ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 3 for calling the OpsEnableAndDisableEagerTest obj's underlying member method code with example usage: obj.tearDown() without return types