[Python-Dev] adding threaded tests to the test suite
Zachary Ware
zachary.ware+pydev at gmail.com
Sun Jan 22 15:46:05 EST 2017
More information about the Python-Dev mailing list
Sun Jan 22 15:46:05 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:02 PM, Ethan Furman <ethan at 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
- 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