code: def test_constants_in_function_calls(self):
      # An example specific configuration that differs from the default: Moving
      # literals out of being directly passed to functions, but nothing else.
      try:
          # TODO(b/140808434): Fix this.
          # gast pre-0.3
          literals = (
              gast.Num,
              gast.Str,
              gast.Bytes,
              gast.NameConstant,
              gast.Name,
          )
      except AttributeError:
          # gast 0.3+
          literals = (gast.Constant, gast.Name)
      config = [
          (
              anf.ASTEdgePattern(gast.Call, anf.ANY, literals),
              anf.REPLACE,
          )
      ]
  
      def test_function(x, frob):
          return frob(x, x + 1, 2)
  
      def expected_result(x, frob):
          tmp_1001 = 2
          return frob(x, x + 1, tmp_1001)
  
      self.assert_body_anfs_as_expected(
          expected_result, test_function, config
      )
  
imports: import textwrap
  import unittest
  import gast
  from nvidia.dali._autograph.pyct import loader
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import transformer
  from nvidia.dali._autograph.pyct.common_transformers import anf
label_desc: Use image node_id 1 for calling the AnfConfiguredTest obj's underlying member method code with example usage: obj.test_constants_in_function_calls() and returns: frob, frob