Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_getargs2.py828 from _testcapi import getargs_U
830 self.assertIs(getargs_U(obj), obj)
831 self.assertRaises(TypeError, getargs_U, 'str')
832 self.assertRaises(TypeError, getargs_U, bytearray('bytearray'))
833 self.assertRaises(TypeError, getargs_U, None)
834 self.assertRaises(TypeError, getargs_U, memoryview(obj))
835 self.assertRaises(TypeError, getargs_U, buffer(obj))
/external/python/cpython3/Lib/test/
Dtest_getargs2.py952 from _testcapi import getargs_U
954 self.assertIs(getargs_U(obj), obj)
955 self.assertRaises(TypeError, getargs_U, b'bytes')
956 self.assertRaises(TypeError, getargs_U, bytearray(b'bytearray'))
957 self.assertRaises(TypeError, getargs_U, None)
/external/python/cpython2/Modules/
D_testcapimodule.c1291 getargs_U(PyObject *self, PyObject *args) in getargs_U() function
2726 {"getargs_U", getargs_U, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1278 getargs_U(PyObject *self, PyObject *args) in getargs_U() function
4657 {"getargs_U", getargs_U, METH_VARARGS},