[Python-checkins] [python/cpython] 3df9de: bpo-30845: Enhance test_concurrent_futures cleanup...

GitHub noreply at github.com
Tue Jul 4 07:14:06 EDT 2017


 Branch: refs/heads/master
 Home: https://github.com/python/cpython
 Commit: 3df9dec425b0254df1cdf41922fd8d6b08bf47e4
 https://github.com/python/cpython/commit/3df9dec425b0254df1cdf41922fd8d6b08bf47e4
 Author: Victor Stinner <victor.stinner at gmail.com>
 Date: 2017年07月04日 (2017年7月04日)
 Changed paths:
 M Lib/test/support/__init__.py
 M Lib/test/test_concurrent_futures.py
 Log Message:
 -----------
 bpo-30845: Enhance test_concurrent_futures cleanup (#2564)
* 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).


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /