[issue40144] test.support.SuppressCrashReport fails on macOS
STINNER Victor
report at bugs.python.org
Wed Apr 1 18:29:54 EDT 2020
New submission from STINNER Victor <vstinner at python.org>:
Failure seen on the macOS job on a PR:
https://github.com/python/cpython/pull/19252/checks?check_run_id=552502971
of https://github.com/python/cpython/pull/19252/files
Reformatted error:
AssertionError: Regex didn't match:
"Fatal Python error: _enter_buffered_busy: could not acquire lock for <(_io\\.)?BufferedWriter name='<stderr>'> at interpreter shutdown, possibly due to daemon threads"
not found in
'Traceback (most recent call last):
File "<string>", line 15, in <module>
File "/Users/runner/runners/2.165.2/work/cpython/cpython/Lib/test/support/__init__.py", line 2913, in __enter__
self.old_value = resource.getrlimit(resource.RLIMIT_CORE)
AttributeError: module \'resource\' has no attribute \'RLIMIT_CORE\'
'
It seems like resource.RLIMIT_CORE is not available on this macOS machine.
----------
components: Tests
messages: 365521
nosy: vstinner
priority: normal
severity: normal
status: open
title: test.support.SuppressCrashReport fails on macOS
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40144>
_______________________________________
More information about the Python-bugs-list
mailing list