code: def test_nonlocal_symbol(self):
      nonlocal_a = 3
      nonlocal_b = 13
  
      def test_fn(c):
          nonlocal nonlocal_a
          nonlocal nonlocal_b
          nonlocal_a = nonlocal_b + c
  
      node, _ = self._parse_and_analyze(test_fn)
      fn_node = node
      body_scope = anno.getanno(fn_node, NodeAnno.BODY_SCOPE)
      self.assertScopeIs(
          body_scope, ("nonlocal_a", "nonlocal_b", "c"), ("nonlocal_a",)
      )
      nonlocal_a_scope = anno.getanno(
          fn_node.body[0], anno.Static.SCOPE
      )
      self.assertScopeIs(nonlocal_a_scope, ("nonlocal_a",), ())
  
imports: import gast
  from tensorflow.python.autograph.pyct import anno
  from tensorflow.python.autograph.pyct import naming
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import qual_names
  from tensorflow.python.autograph.pyct import transformer
  from tensorflow.python.autograph.pyct.static_analysis import activity
  from tensorflow.python.autograph.pyct.static_analysis import annos
  from tensorflow.python.platform import test
label_desc: Use image node_id 35 for calling the ActivityAnalyzerTest obj's underlying member method code with example usage: obj.test_nonlocal_symbol() without return types