https://github.com/python/cpython
Revision 397d88db5e9ab2a43de3fdf5f8b973a949edc405 authored by Sam Gross on 29 March 2024, 17:34:04 UTC, committed by GitHub on 29 March 2024, 17:34:04 UTC
The tests are not reliable with the GIL disabled. In theory, they can
fail with the GIL enabled too, but the failures are much more likely
with the GIL disabled.
1 parent f05fb2e
Raw File
Tip revision: 397d88db5e9ab2a43de3fdf5f8b973a949edc405 authored by Sam Gross on 29 March 2024, 17:34:04 UTC
gh-117344: Skip flaky tests in free-threaded build (#117355)
Tip revision: 397d88d
.coveragerc
[run]
branch = True

[report]
# Regexes for lines to exclude from consideration
exclude_lines =
    # Don't complain if non-runnable code isn't run:
    if 0:
    if __name__ == .__main__.:
    raise AssertionError\(

    # Empty bodies in protocols or abstract methods
    ^\s*def [a-zA-Z0-9_]+\(.*\)(\s*->.*)?:\s*\.\.\.(\s*#.*)?$
    ^\s*\.\.\.(\s*#.*)?$

    .*# pragma: no cover
    .*# pragma: no branch

    # Additions for IDLE:
    .*# htest #
    if not (_htest or _utest):
    if not .*_utest:
    if .*_htest:
    
back to top