code: def testFunctionCall(self):
      self.assertEqual(1, posonly_sum(1))
      self.assertEqual(1 + 2, posonly_sum(1, **{"2": 2}))
      self.assertEqual(1 + 2 + 3, posonly_sum(1, *(2, 3)))
      self.assertEqual(
          1 + 2 + 3 + 4, posonly_sum(1, *(2, 3), **{"4": 4})
      )
  
      self.assertEqual(1, keywordonly_sum(k2=1))
      self.assertEqual(1 + 2, keywordonly_sum(k1=1, k2=2))
  
      self.assertEqual(1 + 2, keywordonly_and_kwarg_sum(k1=1, k2=2))
      self.assertEqual(
          1 + 2 + 3, keywordonly_and_kwarg_sum(k1=1, k2=2, k3=3)
      )
      self.assertEqual(
          1 + 2 + 3 + 4,
          keywordonly_and_kwarg_sum(k1=1, k2=2, **{"a": 3, "b": 4}),
      )
  
      self.assertEqual(1 + 2, mixedargs_sum(1, k1=2))
      self.assertEqual(1 + 2 + 3, mixedargs_sum(1, 2, k1=3))
      self.assertEqual(1 + 2 + 3 + 4, mixedargs_sum(1, 2, k1=3, k2=4))
      self.assertEqual(
          1 + 2 + 3 + 4 + 5, mixedargs_sum(1, 2, 3, k1=4, k2=5)
      )
  
      self.assertEqual(1 + 2, mixedargs_sum2(1, k1=2))
      self.assertEqual(1 + 2 + 3, mixedargs_sum2(1, 2, k1=3))
      self.assertEqual(1 + 2 + 3 + 4, mixedargs_sum2(1, 2, k1=3, k2=4))
      self.assertEqual(
          1 + 2 + 3 + 4 + 5, mixedargs_sum2(1, 2, 3, k1=4, k2=5)
      )
      self.assertEqual(
          1 + 2 + 3 + 4 + 5 + 6,
          mixedargs_sum2(1, 2, 3, k1=4, k2=5, k3=6),
      )
      self.assertEqual(
          1 + 2 + 3 + 4 + 5 + 6,
          mixedargs_sum2(1, 2, 3, k1=4, **{"k2": 5, "k3": 6}),
      )
  
      self.assertEqual(1, Foo(k1=1).sum())
      self.assertEqual(1 + 2, Foo(k1=1, k2=2).sum())
  
      self.assertEqual([1, 2, 3], sortnum(3, 2, 1))
      self.assertEqual([3, 2, 1], sortnum(1, 2, 3, reverse=True))
  
      self.assertEqual(["a", "b", "c"], sortwords("a", "c", "b"))
      self.assertEqual(
          ["c", "b", "a"], sortwords("a", "c", "b", reverse=True)
      )
      self.assertEqual(
          ["c", "b", "a"],
          sortwords("a", "c", "b", reverse=True, ignore="ignore"),
      )
  
imports: import unittest
label_desc: Use image node_id 7 for calling the KeywordOnlyArgTestCase obj's underlying member method code with example usage: obj.testFunctionCall() without return types