Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-141563: Fix test_cext on Windows
The 'module' argument is now always needed to call the test_datetime
method.
  • Loading branch information
vstinner committed Feb 10, 2026
commit a01a05213ef8be8d34f3ce8910271de93f7f8a7d
8 changes: 1 addition & 7 deletions Lib/test/test_cext/extension.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,7 @@ static PyMethodDef _testcext_methods[] = {


static int
_testcext_exec(
#ifdef __STDC_VERSION__
PyObject *module
#else
PyObject *Py_UNUSED(module)
#endif
)
_testcext_exec(PyObject *module)
{
PyObject *result;

Expand Down
Loading