diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-08-06 17:09:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 17:09:06 (GMT) |
commit | a5d99632766b458b42f327e8bd0f82b0345c9a63 (patch) | |
tree | 1561e7a0ce97fbc1fd4c8b321539b248b8db64e7 /Misc | |
parent | 36a2497093f0c66c2fb1667308691561c1bbe3f4 (diff) | |
download | cpython-a5d99632766b458b42f327e8bd0f82b0345c9a63.zip cpython-a5d99632766b458b42f327e8bd0f82b0345c9a63.tar.gz cpython-a5d99632766b458b42f327e8bd0f82b0345c9a63.tar.bz2 |
bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783)
* When trying to allocate very large regions on macOS, malloc does not fail silently. It sends a noisy error out to STDERR
* This provides a helper function to warn the user, and provides the warning for test_decimal, which consistently generates these warnings on macOS.
Co-authored-by: Ćukasz Langa <lukasz@langa.pl>
(cherry picked from commit 15d3c14df32a35ac69898a7852115722e30d7857)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2021-08-06-00-07-15.bpo-40928.aIwb6G.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2021-08-06-00-07-15.bpo-40928.aIwb6G.rst b/Misc/NEWS.d/next/Tests/2021-08-06-00-07-15.bpo-40928.aIwb6G.rst new file mode 100644 index 0000000..c9a5e1b --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2021-08-06-00-07-15.bpo-40928.aIwb6G.rst @@ -0,0 +1,2 @@ +Notify users running test_decimal regression tests on macOS of potential +harmless "malloc can't allocate region" messages spewed by test_decimal. |