code: def test_print_statement(self):
      def test_fn(a):
          b = 0
          c = 1
          print(a, b)
          return c
  
      node, _ = self._parse_and_analyze(test_fn)
      print_node = node.body[2]
      if isinstance(print_node, gast.Print):
          # Python 2
          print_args_scope = anno.getanno(
              print_node, NodeAnno.ARGS_SCOPE
          )
      else:
          # Python 3
          assert isinstance(print_node, gast.Expr)
          # The call node should be the one being annotated.
          print_node = print_node.value
          print_args_scope = anno.getanno(
              print_node, NodeAnno.ARGS_SCOPE
          )
      # We basically need to detect which variables are captured by the call
      # arguments.
      self.assertScopeIs(print_args_scope, ("a", "b"), ())
  
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 3 for calling the ActivityAnalyzerTest obj's underlying member method code with example usage: obj.test_print_statement() and returns: c