Home
last modified time | relevance | path

Searched refs:getargs_h (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_getargs2.py146 from _testcapi import getargs_h
148 self.assertRaises(TypeError, getargs_h, 3.14)
149 self.assertEqual(99, getargs_h(Long()))
150 self.assertEqual(99, getargs_h(Int()))
152 self.assertRaises(OverflowError, getargs_h, SHRT_MIN-1)
153 self.assertEqual(SHRT_MIN, getargs_h(SHRT_MIN))
154 self.assertEqual(SHRT_MAX, getargs_h(SHRT_MAX))
155 self.assertRaises(OverflowError, getargs_h, SHRT_MAX+1)
157 self.assertEqual(42, getargs_h(42))
158 self.assertEqual(42, getargs_h(42L))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_testcapimodule.c881 getargs_h(PyObject *self, PyObject *args) in getargs_h() function
1666 {"getargs_h", getargs_h, METH_VARARGS},