code: def test_if(self):
      def test_fn(x):
          if x > 0:
              x = -x
              y = 2 * x
              z = -y
          else:
              x = 2 * x
              y = -x
              u = -y
          return z, u
  
      node, _ = self._parse_and_analyze(test_fn)
      if_node = node.body[0]
      self.assertScopeIs(
          anno.getanno(if_node, NodeAnno.BODY_SCOPE),
          ("x", "y"),
          ("x", "y", "z"),
      )
      self.assertScopeIs(
          anno.getanno(if_node, NodeAnno.BODY_SCOPE).parent,
          ("x", "y", "z", "u"),
          ("x", "y", "z", "u"),
      )
      self.assertScopeIs(
          anno.getanno(if_node, NodeAnno.ORELSE_SCOPE),
          ("x", "y"),
          ("x", "y", "u"),
      )
      self.assertScopeIs(
          anno.getanno(if_node, NodeAnno.ORELSE_SCOPE).parent,
          ("x", "y", "z", "u"),
          ("x", "y", "z", "u"),
      )
  
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 9 for calling the ActivityAnalyzerTest obj's underlying member method code with example usage: obj.test_if() and returns: z,  u