Skip to content

Commit 5a97a93

Browse files
authored
gh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable assert() (GH-95793)
1 parent 325ae93 commit 5a97a93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Modules/_testcapi/parts.h

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#include "Python.h"
22

3+
/* Always enable assertions */
4+
#undef NDEBUG
5+
36
int _PyTestCapi_Init_Vectorcall(PyObject *module);
47
int _PyTestCapi_Init_VectorcallLimited(PyObject *module);
58
int _PyTestCapi_Init_Heaptype(PyObject *module);

0 commit comments

Comments
 (0)