[3.5] bpo-30131: test_logging now joins queue threads (#1298) by vstinner · Pull Request #1318 · python/cpython
vstinner
changed the title
bpo-30131: test_logging now joins queue threads (#1298)
[3.5] bpo-30131: test_logging now joins queue threads (#1298)
QueueListenerTest of test_logging now closes the multiprocessing Queue and joins its thread to prevent leaking dangling threads to following tests. Add also @support.reap_threads to detect earlier if a test leaks threads (and try to "cleanup" these threads). (cherry picked from commit 8ca2f2f)
This 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