code: def test_anf_some_function_calls(self):
      # Another example specific configuration that differs from the default:
      # Moving all arguments out of some function calls but leaving others be.
      allowlist = ["foo"]
  
      def transform(parent, field, child):
          del field
          del child
          func_name = parent.func.id
          return str(func_name) in allowlist
  
      config = [
          (anf.ASTEdgePattern(gast.Call, anf.ANY, anf.ANY), transform)
      ]
  
      def test_function(x, foo, bar):
          y = foo(x, x + 1, 2)
          return bar(y, y + 1, 2)
  
      def expected_result(x, foo, bar):
          tmp_1001 = x + 1
          tmp_1002 = 2
          y = foo(x, tmp_1001, tmp_1002)
          return bar(y, y + 1, 2)
  
      self.assert_body_anfs_as_expected(
          expected_result, test_function, config
      )
  
imports: import textwrap
  import gast
  from tensorflow.python.autograph.pyct import loader
  from tensorflow.python.autograph.pyct import parser
  from tensorflow.python.autograph.pyct import transformer
  from tensorflow.python.autograph.pyct.common_transformers import anf
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the AnfConfiguredTest obj's underlying member method code with example usage: obj.test_anf_some_function_calls() and returns: unknown, bar, bar