gh-141563: Fix test_cppext on macOS by vstinner · Pull Request #144685 · python/cpython · GitHub
Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Lib/test/test_cext/setup.py
5 changes: 3 additions & 2 deletions Lib/test/test_cppext/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
#ifdef TEST_INTERNAL_C_API
// gh-135906: Check for compiler warnings in the internal C API
# include "internal/pycore_frame.h"
// mimalloc emits compiler warnings when Python is built on Windows.
# if !defined(MS_WINDOWS)
// mimalloc emits compiler warnings when Python is built on Windows
// and macOS.
# if !defined(MS_WINDOWS) && !defined(__APPLE__)
# include "internal/pycore_backoff.h"
# include "internal/pycore_cell.h"
# endif
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_cppext/setup.py
Loading