Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_getargs2.py596 from _testcapi import getargs_s_star
597 self.assertEqual(getargs_s_star('abc\xe9'), 'abc\xe9')
598 self.assertEqual(getargs_s_star(u'abc'), 'abc')
599 self.assertEqual(getargs_s_star('nul:\0'), 'nul:\0')
600 self.assertEqual(getargs_s_star(u'nul:\0'), 'nul:\0')
601 self.assertEqual(getargs_s_star(bytearray('abc\xe9')), 'abc\xe9')
602 self.assertEqual(getargs_s_star(memoryview('abc\xe9')), 'abc\xe9')
604 self.assertEqual(getargs_s_star(buffer('abc\xe9')), 'abc\xe9')
605 self.assertEqual(getargs_s_star(buffer(u'abc\xe9')),
607 self.assertRaises(TypeError, getargs_s_star, None)
/external/python/cpython3/Lib/test/
Dtest_getargs2.py775 from _testcapi import getargs_s_star
776 self.assertEqual(getargs_s_star('abc\xe9'), b'abc\xc3\xa9')
777 self.assertEqual(getargs_s_star('nul:\0'), b'nul:\0')
778 self.assertEqual(getargs_s_star(b'bytes'), b'bytes')
779 self.assertEqual(getargs_s_star(bytearray(b'bytearray')), b'bytearray')
780 self.assertEqual(getargs_s_star(memoryview(b'memoryview')), b'memoryview')
781 self.assertRaises(TypeError, getargs_s_star, None)
/external/python/cpython2/Modules/
D_testcapimodule.c1320 getargs_s_star(PyObject *self, PyObject *args) in getargs_s_star() function
2730 {"getargs_s_star", getargs_s_star, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1315 getargs_s_star(PyObject *self, PyObject *args) in getargs_s_star() function
4661 {"getargs_s_star", getargs_s_star, METH_VARARGS},