Branch: refs/heads/master Home: https://github.com/python/cpython Commit: 21a0a6c9f8a047b6eb173ee59e38ad5dc3c46f86 https://github.com/python/cpython/commit/21a0a6c9f8a047b6eb173ee59e38ad5dc3c46f86 Author: Victor Stinner <victor.stinner at gmail.com> Date: 2017年06月30日 (2017年6月30日) Changed paths: M Lib/test/libregrtest/runtest.py M Lib/test/libregrtest/save_env.py M Lib/test/support/__init__.py Log Message: ----------- threading_cleanup() failure marks test as ENV_CHANGED (#2500) If threading_cleanup() fails to cleanup threads, set a a new support.environment_altered flag to true, flag uses by save_env which is used by regrtest to check if a test altered the environment. At the end, the test file fails with ENV_CHANGED instead of SUCCESS, to report that it altered the environment.