• Victor Stinner's avatar
    bpo-30845: Enhance test_concurrent_futures cleanup (#2564) (#2880) · a6f04522
    Victor Stinner yazdı
    * bpo-30845: reap_children() now logs warnings
    
    * bpo-30845: Enhance test_concurrent_futures cleanup
    
    In setUp() and tearDown() methods of test_concurrent_futures tests,
    make sure that tests don't leak threads nor processes. Clear
    explicitly the reference to the executor to make it that it's
    destroyed (to prevent "dangling threads" warning).
    
    (cherry picked from commit 3df9dec4)
    a6f04522
test_concurrent_futures.py 26.3 KB