mirror of
https://github.com/python/cpython.git
synced 2025-10-27 03:34:32 +00:00
Don't ignore errors raised by `PyErr_WarnFormat` in `warn_about_fork_with_threads` Instead, ignore the warnings in all test code that forks. (That's a lot of functions.) In `test_support`, make `ignore_warnings` a context manager (as well as decorator), and add a `message` argument to it. Also add a `ignore_fork_in_thread_deprecation_warnings` helper for the deadlock-in-fork warning. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| executor.py | ||
| test_as_completed.py | ||
| test_deadlock.py | ||
| test_future.py | ||
| test_init.py | ||
| test_interpreter_pool.py | ||
| test_process_pool.py | ||
| test_shutdown.py | ||
| test_thread_pool.py | ||
| test_wait.py | ||
| util.py | ||