code: def test_value_verification_does_not_trigger_getattr(self):
      class TestClass(object):
          def __init__(self):
              self.getattr_called = False
  
          def __getattr__(self, _):
              # Note: seems that any exception raised here is absorbed by hasattr.
              # So we can't call test.fail or raise.
              self.getattr_called = True
  
      tc = TestClass()
  
      def f():
          return tc.b + 1
  
      _, node, _ = self.transform(
          f, directives_converter, include_ast=True
      )
  
      self.assertIsNotNone(node)
      self.assertFalse(tc.getattr_called)
  
file_path: tensorflow-upstream/tensorflow/python/autograph/converters/directives_test.py
imports: from tensorflow.python.autograph.converters import directives
  from tensorflow.python.autograph.core import converter_testing
  from tensorflow.python.autograph.lang import directives
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the DirectivesTest obj's underlying member method code with example usage: obj.test_value_verification_does_not_trigger_getattr() and returns: unknown