Searched refs:getargs_H (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 207 from _testcapi import getargs_H 209 self.assertRaises(TypeError, getargs_H, 3.14) 210 self.assertEqual(99, getargs_H(Index())) 211 self.assertEqual(0, getargs_H(IndexIntSubclass())) 212 self.assertRaises(TypeError, getargs_H, BadIndex()) 214 self.assertEqual(1, getargs_H(BadIndex2())) 215 self.assertEqual(0, getargs_H(BadIndex3())) 217 self.assertEqual(99, getargs_H(Int())) 218 self.assertEqual(0, getargs_H(IntSubclass())) 219 self.assertRaises(TypeError, getargs_H, BadInt()) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 164 from _testcapi import getargs_H 166 self.assertRaises(TypeError, getargs_H, 3.14) 167 self.assertEqual(99, getargs_H(Long())) 168 self.assertEqual(99, getargs_H(Int())) 170 self.assertEqual(USHRT_MAX, getargs_H(-1)) 171 self.assertEqual(0, getargs_H(0)) 172 self.assertEqual(USHRT_MAX, getargs_H(USHRT_MAX)) 173 self.assertEqual(0, getargs_H(USHRT_MAX+1)) 175 self.assertEqual(42, getargs_H(42)) 176 self.assertEqual(42, getargs_H(42L)) [all …]
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1112 getargs_H(PyObject *self, PyObject *args) in getargs_H() function 2706 {"getargs_H", getargs_H, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1128 getargs_H(PyObject *self, PyObject *args) in getargs_H() function 5377 {"getargs_H", getargs_H, METH_VARARGS},
|