code: def test_copy(self):
      node_1 = ast.Name()
      anno.setanno(node_1, "foo", 3)
  
      node_2 = ast.Name()
      anno.copyanno(node_1, node_2, "foo")
      anno.copyanno(node_1, node_2, "bar")
  
      self.assertTrue(anno.hasanno(node_2, "foo"))
      self.assertFalse(anno.hasanno(node_2, "bar"))
  
file_path: tensorflow-upstream/tensorflow/python/autograph/pyct/anno_test.py
imports: import ast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the AnnoTest obj's underlying member method code with example usage: obj.test_copy() without return types