Skip to content

Commit f9ad2e3

Browse files
committed
gh-115119: amend 9eb3b14, remove TEST_COVERAGE private macro
1 parent 76f2285 commit f9ad2e3

3 files changed

Lines changed: 1 addition & 12 deletions

File tree

Modules/_decimal/_decimal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ find_state_ternary(PyObject *left, PyObject *right, PyObject *modulus)
188188
* sizeof(size_t) == sizeof(mpd_uint_t) == sizeof(mpd_ssize_t)
189189
*/
190190

191-
#ifdef TEST_COVERAGE
191+
#ifdef Py_DEBUG
192192
#undef Py_LOCAL_INLINE
193193
#define Py_LOCAL_INLINE Py_LOCAL
194194
#endif

configure

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4333,11 +4333,6 @@ PKG_CHECK_MODULES([LIBMPDEC], [libmpdec >= 2.5.0], [have_mpdec=yes], [
43334333
])
43344334
])
43354335

4336-
# Disable forced inlining in debug builds, see GH-94847
4337-
AS_VAR_IF(
4338-
[with_pydebug], [yes],
4339-
[AS_VAR_APPEND([LIBMPDEC_CFLAGS], [" -DTEST_COVERAGE"])])
4340-
43414336
# Check whether _decimal should use a coroutine-local or thread-local context
43424337
AC_MSG_CHECKING([for --with-decimal-contextvar])
43434338
AC_ARG_WITH(

0 commit comments

Comments
 (0)