diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-02 11:49:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-10-02 11:49:31 (GMT) |
commit | 46c7b3b28332b5b0f5fcfede416966786d33b92f (patch) | |
tree | afbaa8979a5b74dd2f3236454b661fdcf2b9d4c8 /Modules/_testcapimodule.c | |
parent | ea3f305a25fc9a1f5824b0a0ad4ea3f17c896b21 (diff) | |
download | cpython-46c7b3b28332b5b0f5fcfede416966786d33b92f.zip cpython-46c7b3b28332b5b0f5fcfede416966786d33b92f.tar.gz cpython-46c7b3b28332b5b0f5fcfede416966786d33b92f.tar.bz2 |
Issue #8670: Rename testcapi unicode test methods
* test_aswidechar() => unicode_aswidechar()
* test_aswidecharstring() => unicode_aswidecharstring()
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index d2d3b19..912ba17 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -1386,7 +1386,7 @@ test_widechar(PyObject *self) } static PyObject * -test_aswidechar(PyObject *self, PyObject *args) +unicode_aswidechar(PyObject *self, PyObject *args) { PyObject *unicode, *result; Py_ssize_t buflen, size; @@ -1417,7 +1417,7 @@ test_aswidechar(PyObject *self, PyObject *args) } static PyObject * -test_aswidecharstring(PyObject *self, PyObject *args) +unicode_aswidecharstring(PyObject *self, PyObject *args) { PyObject *unicode, *result; Py_ssize_t size; @@ -2321,8 +2321,8 @@ static PyMethodDef TestMethods[] = { {"test_u_code", (PyCFunction)test_u_code, METH_NOARGS}, {"test_Z_code", (PyCFunction)test_Z_code, METH_NOARGS}, {"test_widechar", (PyCFunction)test_widechar, METH_NOARGS}, - {"test_aswidechar", test_aswidechar, METH_VARARGS}, - {"test_aswidecharstring", test_aswidecharstring, METH_VARARGS}, + {"unicode_aswidechar", unicode_aswidechar, METH_VARARGS}, + {"unicode_aswidecharstring",unicode_aswidecharstring, METH_VARARGS}, #ifdef WITH_THREAD {"_test_thread_state", test_thread_state, METH_VARARGS}, {"_pending_threadfunc", pending_threadfunc, METH_VARARGS}, |