Skip to content

Commit 1715eff

Browse files
Fix name for create_managed_weakref_nogc_type
1 parent 252c6bd commit 1715eff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_testcapimodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,7 +2589,7 @@ static PyType_Spec ManagedWeakrefNoGC_spec = {
25892589
};
25902590

25912591
static PyObject *
2592-
test_create_managed_weakref_nogc_type(PyObject *self, PyObject *Py_UNUSED(args))
2592+
create_managed_weakref_nogc_type(PyObject *self, PyObject *Py_UNUSED(args))
25932593
{
25942594
return PyType_FromSpec(&ManagedWeakrefNoGC_spec);
25952595
}
@@ -2690,7 +2690,7 @@ static PyMethodDef TestMethods[] = {
26902690
{"code_offset_to_line", _PyCFunction_CAST(code_offset_to_line), METH_FASTCALL},
26912691
{"toggle_reftrace_printer", toggle_reftrace_printer, METH_O},
26922692
{"create_managed_weakref_nogc_type",
2693-
test_create_managed_weakref_nogc_type, METH_NOARGS},
2693+
create_managed_weakref_nogc_type, METH_NOARGS},
26942694
{NULL, NULL} /* sentinel */
26952695
};
26962696

0 commit comments

Comments
 (0)