code: def test_rename_symbols_annotations(self):
      node = parser.parse("a[i]")
      node = qual_names.resolve(node)
      anno.setanno(node, "foo", "bar")
      orig_anno = anno.getanno(node, "foo")
  
      node = ast_util.rename_symbols(
          node, {qual_names.QN("a"): qual_names.QN("b")}
      )
  
      self.assertIs(anno.getanno(node, "foo"), orig_anno)
  
imports: import ast
  import collections
  import textwrap
  import gast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import ast_util
  from tensorflow.python.autograph.pyct import loader
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import pretty_printer
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.platform import test
label_desc: Use image node_id 7 for calling the AstUtilTest obj's underlying member method code with example usage: obj.test_rename_symbols_annotations() without return types