bpo-16968: Clean up test_concurrent_futures by zware · Pull Request #8099 · python/cpython

The old test_main function would cause any dangling threads or processes
to be reaped silently rather than allowing regrtest to detect and warn
about them.  Since the shutdown methods of the module should do all of
the cleanup for us, we want to get those warnings if they don't.
This allows a change in `support.environment_altered` by `support.reap_children`
to be recorded by `saved_test_environment.__exit__`.

vstinner

vstinner

@zware zware deleted the issue16968 branch

July 2, 2019 22:25

@zware zware mentioned this pull request

May 16, 2022