This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, mattchaput
Date 2011-02-18.00:28:50
SpamBayes Score 0.0020105136
Marked as misclassified No
Message-id <1297988931.44.0.34189517798.issue11240@psf.upfronthosting.co.za>
In-reply-to
Content
Using multiprocessing on Windows can be different; please read http://docs.python.org/library/multiprocessing.html#windows especially the part named "Safe importing of main module".

On Windows, fork() does not exist, so a new interpreter must be started, which will import the current module; this must not start the test suite again!
Adding "if __name__ == '__main__'" somewhere is probably the solution.
If not, you should move the target function to another module.
History
Date User Action Args
2011-02-18 00:28:51amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, mattchaput
2011-02-18 00:28:51amaury.forgeotdarcsetmessageid: <1297988931.44.0.34189517798.issue11240@psf.upfronthosting.co.za>
2011-02-18 00:28:50amaury.forgeotdarclinkissue11240 messages
2011-02-18 00:28:50amaury.forgeotdarccreate