[Python-Dev] adding threaded tests to the test suite

Serhiy Storchaka storchaka at gmail.com
Sun Jan 22 17:48:45 EST 2017


On 22.01.17 22:02, Ethan Furman 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?

You can use the test.support.start_threads() context manager.




More information about the Python-Dev mailing list