[Python-Dev] adding threaded tests to the test suite
Zachary Ware
zachary.ware+pydev at gmail.com
Sun Jan 22 15:51:49 EST 2017
More information about the Python-Dev mailing list
Sun Jan 22 15:51:49 EST 2017
- Previous message (by thread): [Python-Dev] adding threaded tests to the test suite
- Next message (by thread): [Python-Dev] adding threaded tests to the test suite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Jan 22, 2017 at 2:39 PM, Martin Panter <vadmium+py at gmail.com> wrote: > As I understand, @reap_threads basically does a join() on each > background thread, with a total timeout of 1 s. So since your test is > unlikely to fail between starting threads and joining them, I don’t > think you need to use @reap_threads. reap_threads is meant as a failsafe, in case your test case doesn't clean up after itself properly. Most of the time, reap_threads shouldn't actually *do* anything. -- Zach
- Previous message (by thread): [Python-Dev] adding threaded tests to the test suite
- Next message (by thread): [Python-Dev] adding threaded tests to the test suite
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list