]> granicus.if.org Git - python/commit
bpo-30131: test_logging now joins queue threads (#1298)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 26 Apr 2017 13:56:25 +0000 (15:56 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2017 13:56:25 +0000 (15:56 +0200)
commit8ca2f2faefa8dba323a2e4c4b86efb633d7a53cf
tree69eac526d6e7846dc365809d8ee8225817935ce6
parent6e676954de7c4f3f06dd5b56842c9a2c931a1cab
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).
Lib/test/test_logging.py