Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_getargs2.py565 from _testcapi import getargs_w_star
566 self.assertRaises(TypeError, getargs_w_star, 'abc')
567 self.assertRaises(TypeError, getargs_w_star, u'abc')
568 self.assertRaises(TypeError, getargs_w_star, memoryview('bytes'))
570 self.assertEqual(getargs_w_star(buf), '[ytearra]')
573 self.assertEqual(getargs_w_star(memoryview(buf)), '[emoryvie]')
576 self.assertRaises(TypeError, getargs_w_star, buffer('buffer'))
577 self.assertRaises(TypeError, getargs_w_star,
579 self.assertRaises(TypeError, getargs_w_star, None)
/external/python/cpython3/Lib/test/
Dtest_getargs2.py823 from _testcapi import getargs_w_star
824 self.assertRaises(TypeError, getargs_w_star, 'abc\xe9')
825 self.assertRaises(TypeError, getargs_w_star, b'bytes')
826 self.assertRaises(TypeError, getargs_w_star, b'nul:\0')
827 self.assertRaises(TypeError, getargs_w_star, memoryview(b'bytes'))
829 self.assertEqual(getargs_w_star(buf), b'[ytearra]')
832 self.assertEqual(getargs_w_star(memoryview(buf)), b'[emoryvie]')
834 self.assertRaises(TypeError, getargs_w_star, None)
/external/python/cpython2/Modules/
D_testcapimodule.c1428 getargs_w_star(PyObject *self, PyObject *args) in getargs_w_star() function
2737 {"getargs_w_star", getargs_w_star, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c2241 getargs_w_star(PyObject *self, PyObject *args) in getargs_w_star() function
5743 {"getargs_w_star", getargs_w_star, METH_VARARGS},