[Python-checkins] [python/cpython] d855e5: bpo-30131: test_logging now joins queue threads (#...

GitHub noreply at github.com
Thu Apr 27 22:27:13 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: d855e53eabca0e8b2b39d25670c37bbdb4ab2e4c
      https://github.com/python/cpython/commit/d855e53eabca0e8b2b39d25670c37bbdb4ab2e4c
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-04-28 (Fri, 28 Apr 2017)

  Changed paths:
    M Lib/test/test_logging.py

  Log Message:
  -----------
  bpo-30131: test_logging now joins queue threads (#1298) (#1318)

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 8ca2f2faefa8dba323a2e4c4b86efb633d7a53cf)




More information about the Python-checkins mailing list