Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_getargs2.py380 from _testcapi import getargs_L
383 self.assertRaises(TypeError, getargs_L, 3.14)
384 self.assertRaises(TypeError, getargs_L, "Hello")
385 self.assertEqual(99, getargs_L(Index()))
386 self.assertEqual(0, getargs_L(IndexIntSubclass()))
387 self.assertRaises(TypeError, getargs_L, BadIndex())
389 self.assertEqual(1, getargs_L(BadIndex2()))
390 self.assertEqual(0, getargs_L(BadIndex3()))
391 self.assertRaises(TypeError, getargs_L, Int())
392 self.assertEqual(0, getargs_L(IntSubclass()))
[all …]
/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/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.c1321 getargs_L(PyObject *self, PyObject *args) in getargs_L() function
5715 {"getargs_L", getargs_L, METH_VARARGS},