Home
last modified time | relevance | path

Searched refs:getargs_L (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_getargs2.py55 from _testcapi import getargs_L, getargs_K
285 from _testcapi import getargs_L
294 self.assertEqual(3, getargs_L(3.14))
301 self.assertRaises(DeprecationWarning, getargs_L, 3.14)
303 self.assertRaises(TypeError, getargs_L, "Hello")
304 self.assertEqual(99, getargs_L(Long()))
305 self.assertEqual(99, getargs_L(Int()))
307 self.assertRaises(OverflowError, getargs_L, LLONG_MIN-1)
308 self.assertEqual(LLONG_MIN, getargs_L(LLONG_MIN))
309 self.assertEqual(LLONG_MAX, getargs_L(LLONG_MAX))
[all …]
/external/python/cpython3/Lib/test/
Dtest_getargs2.py311 from _testcapi import getargs_L
314 self.assertRaises(TypeError, getargs_L, 3.14)
315 self.assertRaises(TypeError, getargs_L, "Hello")
316 self.assertEqual(99, getargs_L(Int()))
317 self.assertEqual(0, getargs_L(IntSubclass()))
318 self.assertRaises(TypeError, getargs_L, BadInt())
320 self.assertEqual(1, getargs_L(BadInt2()))
321 self.assertEqual(0, getargs_L(BadInt3()))
323 self.assertRaises(OverflowError, getargs_L, LLONG_MIN-1)
324 self.assertEqual(LLONG_MIN, getargs_L(LLONG_MIN))
[all …]
/external/python/cpython2/Modules/
D_testcapimodule.c1167 getargs_L(PyObject *self, PyObject *args) in getargs_L() function
2713 {"getargs_L", getargs_L, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1156 getargs_L(PyObject *self, PyObject *args) in getargs_L() function
4646 {"getargs_L", getargs_L, METH_VARARGS},