bpo-37069: regrtest: unraisable marks test as ENV_CHANGED by vstinner · Pull Request #13759 · python/cpython

@vstinner vstinner changed the title [WIP] bpo-37069: regrtest: unraisable marks test as ENV_CHANGED bpo-37069: regrtest: unraisable marks test as ENV_CHANGED

Jun 12, 2019

@vstinner

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 vstinner deleted the unraisable_env_changed branch

June 12, 2019 23:11

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019
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.

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
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.