Searched refs:getargs_l (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 271 from _testcapi import getargs_l 273 self.assertRaises(TypeError, getargs_l, 3.14) 274 self.assertEqual(99, getargs_l(Int())) 275 self.assertEqual(0, getargs_l(IntSubclass())) 276 self.assertRaises(TypeError, getargs_l, BadInt()) 278 self.assertEqual(1, getargs_l(BadInt2())) 279 self.assertEqual(0, getargs_l(BadInt3())) 281 self.assertRaises(OverflowError, getargs_l, LONG_MIN-1) 282 self.assertEqual(LONG_MIN, getargs_l(LONG_MIN)) 283 self.assertEqual(LONG_MAX, getargs_l(LONG_MAX)) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 249 from _testcapi import getargs_l 251 self.assertRaises(TypeError, getargs_l, 3.14) 252 self.assertEqual(99, getargs_l(Long())) 253 self.assertEqual(99, getargs_l(Int())) 255 self.assertRaises(OverflowError, getargs_l, LONG_MIN-1) 256 self.assertEqual(LONG_MIN, getargs_l(LONG_MIN)) 257 self.assertEqual(LONG_MAX, getargs_l(LONG_MAX)) 258 self.assertRaises(OverflowError, getargs_l, LONG_MAX+1) 260 self.assertEqual(42, getargs_l(42)) 261 self.assertEqual(42, getargs_l(42L)) [all …]
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1148 getargs_l(PyObject *self, PyObject *args) in getargs_l() function 2710 {"getargs_l", getargs_l, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1129 getargs_l(PyObject *self, PyObject *args) in getargs_l() function 4643 {"getargs_l", getargs_l, METH_VARARGS},
|