Searched refs:getargs_K (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 55 from _testcapi import getargs_L, getargs_K 317 from _testcapi import getargs_K 319 self.assertRaises(TypeError, getargs_K, 3.14) 320 self.assertRaises(TypeError, getargs_K, Long()) 321 self.assertRaises(TypeError, getargs_K, Int()) 322 self.assertEqual(ULLONG_MAX, getargs_K(ULLONG_MAX)) 323 self.assertEqual(0, getargs_K(0)) 324 self.assertEqual(0, getargs_K(ULLONG_MAX+1)) 326 self.assertEqual(42, getargs_K(42)) 327 self.assertEqual(42, getargs_K(42L)) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 332 from _testcapi import getargs_K 334 self.assertRaises(TypeError, getargs_K, 3.14) 335 self.assertRaises(TypeError, getargs_K, Int()) 336 self.assertEqual(0, getargs_K(IntSubclass())) 337 self.assertRaises(TypeError, getargs_K, BadInt()) 338 self.assertRaises(TypeError, getargs_K, BadInt2()) 339 self.assertEqual(0, getargs_K(BadInt3())) 341 self.assertEqual(ULLONG_MAX, getargs_K(ULLONG_MAX)) 342 self.assertEqual(0, getargs_K(0)) 343 self.assertEqual(0, getargs_K(ULLONG_MAX+1)) [all …]
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1176 getargs_K(PyObject *self, PyObject *args) in getargs_K() function 2714 {"getargs_K", getargs_K, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1165 getargs_K(PyObject *self, PyObject *args) in getargs_K() function 4647 {"getargs_K", getargs_K, METH_VARARGS},
|