Message128770
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. |
|
Date |
User |
Action |
Args |
2011-02-18 00:28:51 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, mattchaput |
2011-02-18 00:28:51 | amaury.forgeotdarc | set | messageid: <1297988931.44.0.34189517798.issue11240@psf.upfronthosting.co.za> |
2011-02-18 00:28:50 | amaury.forgeotdarc | link | issue11240 messages |
2011-02-18 00:28:50 | amaury.forgeotdarc | create | |
|