Home
last modified time | relevance | path

Searched refs:getargs_l (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_getargs2.py248 from _testcapi import getargs_l
250 self.assertRaises(TypeError, getargs_l, 3.14)
251 self.assertEqual(99, getargs_l(Long()))
252 self.assertEqual(99, getargs_l(Int()))
254 self.assertRaises(OverflowError, getargs_l, LONG_MIN-1)
255 self.assertEqual(LONG_MIN, getargs_l(LONG_MIN))
256 self.assertEqual(LONG_MAX, getargs_l(LONG_MAX))
257 self.assertRaises(OverflowError, getargs_l, LONG_MAX+1)
259 self.assertEqual(42, getargs_l(42))
260 self.assertEqual(42, getargs_l(42L))
[all …]
/external/python/cpython2/Modules/
D_testcapimodule.c1140 getargs_l(PyObject *self, PyObject *args) in getargs_l() function
2524 {"getargs_l", getargs_l, METH_VARARGS},