22 Jan
2017
22 Jan
'17
12:46 p.m.
On Sun, Jan 22, 2017 at 2:02 PM, Ethan Furman <ethan@stoneleaf.us> wrote:
Question: I need to add a threaded test to the enum test module [1] -- is there anything extra I need to worry about besides the test itself? Setting or resetting or using a tool library, etc?
As far as I know, the only extras to worry about are to use the support.reap_threads decorator, and be sure to skip the test if threading is not available. Search through the tests for 'reap_threads' if you want other examples of how to handle threaded tests. -- Zach