Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_getargs2.py649 from _testcapi import getargs_z_star
650 self.assertEqual(getargs_z_star('abc\xe9'), 'abc\xe9')
651 self.assertEqual(getargs_z_star(u'abc'), 'abc')
652 self.assertEqual(getargs_z_star('nul:\0'), 'nul:\0')
653 self.assertEqual(getargs_z_star(u'nul:\0'), 'nul:\0')
654 self.assertEqual(getargs_z_star(bytearray('abc\xe9')), 'abc\xe9')
655 self.assertEqual(getargs_z_star(memoryview('abc\xe9')), 'abc\xe9')
657 self.assertEqual(getargs_z_star(buffer('abc\xe9')), 'abc\xe9')
658 self.assertEqual(getargs_z_star(buffer(u'abc\xe9')),
660 self.assertIsNone(getargs_z_star(None))
/external/python/cpython3/Lib/test/
Dtest_getargs2.py802 from _testcapi import getargs_z_star
803 self.assertEqual(getargs_z_star('abc\xe9'), b'abc\xc3\xa9')
804 self.assertEqual(getargs_z_star('nul:\0'), b'nul:\0')
805 self.assertEqual(getargs_z_star(b'bytes'), b'bytes')
806 self.assertEqual(getargs_z_star(bytearray(b'bytearray')), b'bytearray')
807 self.assertEqual(getargs_z_star(memoryview(b'memoryview')), b'memoryview')
808 self.assertIsNone(getargs_z_star(None))
/external/python/cpython2/Modules/
D_testcapimodule.c1364 getargs_z_star(PyObject *self, PyObject *args) in getargs_z_star() function
2734 {"getargs_z_star", getargs_z_star, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1349 getargs_z_star(PyObject *self, PyObject *args) in getargs_z_star() function
4664 {"getargs_z_star", getargs_z_star, METH_VARARGS},