Searched refs:getargs_H (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 172 from _testcapi import getargs_H 174 self.assertRaises(TypeError, getargs_H, 3.14) 175 self.assertEqual(99, getargs_H(Int())) 176 self.assertEqual(0, getargs_H(IntSubclass())) 177 self.assertRaises(TypeError, getargs_H, BadInt()) 179 self.assertEqual(1, getargs_H(BadInt2())) 180 self.assertEqual(0, getargs_H(BadInt3())) 182 self.assertEqual(USHRT_MAX, getargs_H(-1)) 183 self.assertEqual(0, getargs_H(0)) 184 self.assertEqual(USHRT_MAX, getargs_H(USHRT_MAX)) [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 | 1093 getargs_H(PyObject *self, PyObject *args) in getargs_H() function 4639 {"getargs_H", getargs_H, METH_VARARGS},
|