Searched refs:getargs_z_hash (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 663 from _testcapi import getargs_z_hash 664 self.assertEqual(getargs_z_hash('abc\xe9'), 'abc\xe9') 665 self.assertEqual(getargs_z_hash(u'abc'), 'abc') 666 self.assertEqual(getargs_z_hash('nul:\0'), 'nul:\0') 667 self.assertEqual(getargs_z_hash(u'nul:\0'), 'nul:\0') 668 self.assertRaises(TypeError, getargs_z_hash, bytearray('bytearray')) 669 self.assertRaises(TypeError, getargs_z_hash, memoryview('memoryview')) 671 self.assertEqual(getargs_z_hash(buffer('abc\xe9')), 'abc\xe9') 672 self.assertEqual(getargs_z_hash(buffer(u'abc\xe9')), 674 self.assertIsNone(getargs_z_hash(None))
|
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 811 from _testcapi import getargs_z_hash 812 self.assertEqual(getargs_z_hash('abc\xe9'), b'abc\xc3\xa9') 813 self.assertEqual(getargs_z_hash('nul:\0'), b'nul:\0') 814 self.assertEqual(getargs_z_hash(b'bytes'), b'bytes') 815 self.assertRaises(TypeError, getargs_z_hash, bytearray(b'bytearray')) 816 self.assertRaises(TypeError, getargs_z_hash, memoryview(b'memoryview')) 817 self.assertIsNone(getargs_z_hash(None))
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1381 getargs_z_hash(PyObject *self, PyObject *args) in getargs_z_hash() function 2735 {"getargs_z_hash", getargs_z_hash, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1366 getargs_z_hash(PyObject *self, PyObject *args) in getargs_z_hash() function 4665 {"getargs_z_hash", getargs_z_hash, METH_VARARGS},
|