Skip to content

Commit

Permalink
pythongh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable asse…
Browse files Browse the repository at this point in the history
…rt() (pythonGH-95793)
  • Loading branch information
encukou authored Aug 10, 2022
1 parent 325ae93 commit 5a97a93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Modules/_testcapi/parts.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "Python.h"

/* Always enable assertions */
#undef NDEBUG

int _PyTestCapi_Init_Vectorcall(PyObject *module);
int _PyTestCapi_Init_VectorcallLimited(PyObject *module);
int _PyTestCapi_Init_Heaptype(PyObject *module);
Expand Down

0 comments on commit 5a97a93

Please sign in to comment.