Searched refs:getargs_u_hash (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 792 from _testcapi import getargs_u_hash 793 self.assertEqual(getargs_u_hash(u'abc\xe9'), u'abc\xe9') 794 self.assertEqual(getargs_u_hash(u'nul:\0'), u'nul:\0') 795 self.assertRaises(TypeError, getargs_u_hash, 'bytes') 796 self.assertRaises(TypeError, getargs_u_hash, bytearray('bytearray')) 797 self.assertRaises(TypeError, getargs_u_hash, memoryview('memoryview')) 799 self.assertRaises(TypeError, getargs_u_hash, buffer('buffer')) 800 self.assertRaises(TypeError, getargs_u_hash, None)
|
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 905 from _testcapi import getargs_u_hash 906 self.assertEqual(getargs_u_hash('abc\xe9'), 'abc\xe9') 907 self.assertEqual(getargs_u_hash('nul:\0'), 'nul:\0') 908 self.assertRaises(TypeError, getargs_u_hash, b'bytes') 909 self.assertRaises(TypeError, getargs_u_hash, bytearray(b'bytearray')) 910 self.assertRaises(TypeError, getargs_u_hash, memoryview(b'memoryview')) 911 self.assertRaises(TypeError, getargs_u_hash, None)
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1471 getargs_u_hash(PyObject *self, PyObject *args) in getargs_u_hash() function 2741 {"getargs_u_hash", getargs_u_hash, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1419 getargs_u_hash(PyObject *self, PyObject *args) in getargs_u_hash() function 4670 {"getargs_u_hash", getargs_u_hash, METH_VARARGS},
|