diff options
author | Jack DeVries <58614260+jdevries3133@users.noreply.github.com> | 2021-08-06 12:50:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-06 12:50:56 (GMT) |
commit | 15d3c14df32a35ac69898a7852115722e30d7857 (patch) | |
tree | bd8fb96915ef0dcf7959139dd9460829f417ffc0 /Misc/NEWS.d/next/Tests | |
parent | 4d77691172aae81bdcbb0ea75839d0e896c43781 (diff) | |
download | cpython-15d3c14df32a35ac69898a7852115722e30d7857.zip cpython-15d3c14df32a35ac69898a7852115722e30d7857.tar.gz cpython-15d3c14df32a35ac69898a7852115722e30d7857.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>
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-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. |