diff --git a/tests/fixtures/extended_with_no_setup/extended/extended.c b/tests/fixtures/extended_with_no_setup/extended/extended.c index 25a028eb11e..7ae5d50ce93 100644 --- a/tests/fixtures/extended_with_no_setup/extended/extended.c +++ b/tests/fixtures/extended_with_no_setup/extended/extended.c @@ -10,7 +10,7 @@ static PyMethodDef module_methods[] = { { "hello", (PyCFunction) hello, - NULL, + METH_NOARGS, PyDoc_STR("Say hello.") }, {NULL}