[Python-Dev] should tests be thread-safe?
Victor Stinner
victor.stinner at gmail.com
Sat May 10 23:39:57 CEST 2014
More information about the Python-Dev mailing list
Sat May 10 23:39:57 CEST 2014
- Previous message: [Python-Dev] should tests be thread-safe?
- Next message: [Python-Dev] should tests be thread-safe?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If you need a well defined environement, run your test in a subprocess. Depending on the random function, your test may be run with more threads. On BSD, it changes for example which thread receives a signal. Importing the tkinter module creates a "hidden" C thread for the Tk loop. Victor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20140510/38f1387c/attachment.html>
- Previous message: [Python-Dev] should tests be thread-safe?
- Next message: [Python-Dev] should tests be thread-safe?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list