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.py738 from _testcapi import getargs_w_star
739 self.assertRaises(TypeError, getargs_w_star, 'abc\xe9')
740 self.assertRaises(TypeError, getargs_w_star, b'bytes')
741 self.assertRaises(TypeError, getargs_w_star, b'nul:\0')
742 self.assertRaises(TypeError, getargs_w_star, memoryview(b'bytes'))
744 self.assertEqual(getargs_w_star(buf), b'[ytearra]')
747 self.assertEqual(getargs_w_star(memoryview(buf)), b'[emoryvie]')
749 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.c2014 getargs_w_star(PyObject *self, PyObject *args) in getargs_w_star() function
4673 {"getargs_w_star", getargs_w_star, METH_VARARGS},