code: def test_replace_call_keyword(self):
      template = """
        def test_fn():
          def f(a, d, f):
            return a + d + f
          return f(1, kws=None)
      """
  
      source = parser.parse_expression("f(d=3, f=5)")
      node = templates.replace(template, kws=source.keywords)[0]
      result, _, _ = loader.load_ast(node)
      self.assertEqual(9, result.test_fn())
  
      with self.assertRaises(ValueError):
          templates.replace(template, kws=[])
          templates.replace(template, kws=1)
  
imports: import imp
  import unittest
  import gast
  from nvidia.dali._autograph.pyct import gast_util
  from nvidia.dali._autograph.pyct import loader
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import qual_names
  from nvidia.dali._autograph.pyct import templates
label_desc: Use image node_id 13 for calling the TemplatesTest obj's underlying member method code with example usage: obj.test_replace_call_keyword() without return types