D | test_getargs2.py | 751 from _testcapi import getargs_positional_only_and_keywords as getargs unknown in PositionalOnlyAndKeywords_TestCase 755 self.assertEqual(self.getargs(1, 2, 3), (1, 2, 3)) 759 self.assertEqual(self.getargs(1, 2, keyword=3), (1, 2, 3)) 763 self.assertEqual(self.getargs(1, 2), (1, 2, -1)) 764 self.assertEqual(self.getargs(1, keyword=3), (1, -1, 3)) 767 self.assertEqual(self.getargs(1), (1, -1, -1)) 771 self.getargs() 775 self.getargs(keyword=3) 780 self.getargs(1, 2, **{'': 666})
|