]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Dec 2019 20:51:09 +0000 (12:51 -0800)
committerGitHub <noreply@github.com>
Wed, 18 Dec 2019 20:51:09 +0000 (12:51 -0800)
commitb8bbdf049b0472b8edc4298bfa61e62e3a584e98
tree39a70e896a0f38121f03d824a708046963b762cd
parent3dbfe0ac93ce031a23342a62edd39506bcdaea0e
bpo-38546: Fix concurrent.futures test_ressources_gced_in_workers() (GH-17652) (GH-17655)

Fix test_ressources_gced_in_workers() of test_concurrent_futures:
explicitly stop the manager to prevent leaking a child process
running in the background after the test completes.

(cherry picked from commit 673c39331f844a80c465efd7cff88ac55c432bfb)
(cherry picked from commit b0eb046cbd0dbb7b17f16aad6de20fac5305f387)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_concurrent_futures.py
Misc/NEWS.d/next/Tests/2019-12-18-14-52-08.bpo-38546.2kxNuM.rst [new file with mode: 0644]