bpo-37069: regrtest: unraisable marks test as ENV_CHANGED by vstinner · Pull Request #13759 · python/cpython
vstinner
changed the title
[WIP] bpo-37069: regrtest: unraisable marks test as ENV_CHANGED
bpo-37069: regrtest: unraisable marks test as ENV_CHANGED
regrtest now uses sys.unraisablehook() to mark a test as "environment altered" (ENV_CHANGED) if it emits an "unraisable exception". Moreover, regrtest logs a warning in this case. Use "python3 -m test --fail-env-changed" to catch unraisable exceptions in tests.
vstinner
deleted the
unraisable_env_changed
branch
lisroach pushed a commit to lisroach/cpython that referenced this pull request
Sep 10, 2019DinoV pushed a commit to DinoV/cpython that referenced this pull request
Jan 14, 2020This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters