code: def test_for(self):
      def test_fn(a):
          b = a
          for _ in a:
              c = b
              b -= 1
          return b, c
  
      node, _ = self._parse_and_analyze(test_fn)
      for_node = node.body[1]
      self.assertScopeIs(
          anno.getanno(for_node, NodeAnno.ITERATE_SCOPE), (), ("_")
      )
      self.assertScopeIs(
          anno.getanno(for_node, NodeAnno.BODY_SCOPE),
          ("b",),
          ("b", "c"),
      )
      self.assertScopeIs(
          anno.getanno(for_node, NodeAnno.BODY_SCOPE).parent,
          ("a", "b", "c"),
          ("b", "c", "_"),
      )
  
imports: import unittest
  import gast
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import naming
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import transformer
  from nvidia.dali._autograph.pyct.static_analysis import activity
  from nvidia.dali._autograph.pyct.static_analysis import annos
label_desc: Use image node_id 8 for calling the ActivityAnalyzerTest obj's underlying member method code with example usage: obj.test_for() and returns: b,  c