Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: 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. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11240> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com