]> granicus.if.org Git - python/commit
bpo-30131: Cleanup threads in test_logging (#1275)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 24 Apr 2017 22:41:36 +0000 (00:41 +0200)
committerGitHub <noreply@github.com>
Mon, 24 Apr 2017 22:41:36 +0000 (00:41 +0200)
commit4bcfa3a2363c30d406c6826e291b30c33a649d18
treedc68406bf769cab055c3956f08029aab669bda6a
parentfcfe80ec2592fed8b3941c79056a8737abef7d3b
bpo-30131: Cleanup threads in test_logging (#1275)

* Use @support.reap_threads on unit tests creating threads
* Call TestCase.fail() on thread.join(timeout) failure
Lib/test/test_logging.py