◐ Shell
clean mode source ↗

[3.5] bpo-30131: test_logging now joins queue threads (#1298) by vstinner · Pull Request #1318 · python/cpython

@vstinner vstinner changed the title bpo-30131: test_logging now joins queue threads (#1298) [3.5] bpo-30131: test_logging now joins queue threads (#1298)

Apr 27, 2017
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)