diff options
author | Petr Viktorin <encukou@gmail.com> | 2022-08-10 09:53:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 09:53:10 (GMT) |
commit | 5a97a93be086c19343df4352672bfda32f6cbd0c (patch) | |
tree | e67865c93403665e59962b0c958d8930229d49f1 /Modules | |
parent | 325ae93b6b7113cd4a4c2ce441615ae7def779e2 (diff) | |
download | cpython-5a97a93be086c19343df4352672bfda32f6cbd0c.zip cpython-5a97a93be086c19343df4352672bfda32f6cbd0c.tar.gz cpython-5a97a93be086c19343df4352672bfda32f6cbd0c.tar.bz2 |
gh-93649: Undefine NDEBUG in Modules/_testcapi/* to enable assert() (GH-95793)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_testcapi/parts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_testcapi/parts.h b/Modules/_testcapi/parts.h index c0e0f3a..a76ddd9 100644 --- a/Modules/_testcapi/parts.h +++ b/Modules/_testcapi/parts.h @@ -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); |