Searched refs:getargs_et (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 698 from _testcapi import getargs_et 699 self.assertEqual(getargs_et('abc\xe9'), 'abc\xe9') 700 self.assertEqual(getargs_et(u'abc'), 'abc') 701 self.assertEqual(getargs_et('abc', 'ascii'), 'abc') 702 self.assertEqual(getargs_et('abc\xe9', 'ascii'), 'abc\xe9') 703 self.assertEqual(getargs_et(u'abc\xe9', 'latin1'), 'abc\xe9') 704 self.assertRaises(UnicodeEncodeError, getargs_et, u'abc\xe9', 'ascii') 705 self.assertRaises(LookupError, getargs_et, u'abc', 'spam') 706 self.assertRaises(TypeError, getargs_et, 708 self.assertRaises(TypeError, getargs_et, [all …]
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1489 getargs_et(PyObject *self, PyObject *args) in getargs_et() function 2558 {"getargs_et", getargs_et, METH_VARARGS},
|