Home
last modified time | relevance | path

Searched refs:getargs_u_hash (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_getargs2.py791 from _testcapi import getargs_u_hash
792 self.assertEqual(getargs_u_hash(u'abc\xe9'), u'abc\xe9')
793 self.assertEqual(getargs_u_hash(u'nul:\0'), u'nul:\0')
794 self.assertRaises(TypeError, getargs_u_hash, 'bytes')
795 self.assertRaises(TypeError, getargs_u_hash, bytearray('bytearray'))
796 self.assertRaises(TypeError, getargs_u_hash, memoryview('memoryview'))
798 self.assertRaises(TypeError, getargs_u_hash, buffer('buffer'))
799 self.assertRaises(TypeError, getargs_u_hash, None)
/external/python/cpython2/Modules/
D_testcapimodule.c1461 getargs_u_hash(PyObject *self, PyObject *args) in getargs_u_hash() function
2555 {"getargs_u_hash", getargs_u_hash, METH_VARARGS},