Searched refs:getargs_H (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 205 from _testcapi import getargs_H 207 self.assertRaises(TypeError, getargs_H, 3.14) 208 self.assertEqual(99, getargs_H(Index())) 209 self.assertEqual(0, getargs_H(IndexIntSubclass())) 210 self.assertRaises(TypeError, getargs_H, BadIndex()) 212 self.assertEqual(1, getargs_H(BadIndex2())) 213 self.assertEqual(0, getargs_H(BadIndex3())) 214 self.assertRaises(TypeError, getargs_H, Int()) 215 self.assertEqual(0, getargs_H(IntSubclass())) 216 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 | 1258 getargs_H(PyObject *self, PyObject *args) in getargs_H() function 5708 {"getargs_H", getargs_H, METH_VARARGS},
|