Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_capi/
H A Dtest_getargs.py1046 from _testcapi import getargs_u_hash namespace
1048 self.assertEqual(getargs_u_hash('abc\xe9'), 'abc\xe9')
1050 self.assertEqual(getargs_u_hash('nul:\0'), 'nul:\0')
1052 self.assertRaises(TypeError, getargs_u_hash, b'bytes')
1054 self.assertRaises(TypeError, getargs_u_hash, bytearray(b'bytearray'))
1056 self.assertRaises(TypeError, getargs_u_hash, memoryview(b'memoryview'))
1058 self.assertRaises(TypeError, getargs_u_hash, None)
1061 self.assertRaises(DeprecationWarning, getargs_u_hash, 'abc\xe9')
/third_party/python/Modules/
H A D_testcapimodule.c1779 getargs_u_hash(PyObject *self, PyObject *args) in getargs_u_hash() function
6542 {"getargs_u_hash", getargs_u_hash, METH_VARARGS},

Completed in 19 milliseconds