]> granicus.if.org Git - python/commit
Make test_multiprocessing cleanup properly
authorRichard Oudkerk <shibturn@gmail.com>
Wed, 2 May 2012 18:36:11 +0000 (19:36 +0100)
committerRichard Oudkerk <shibturn@gmail.com>
Wed, 2 May 2012 18:36:11 +0000 (19:36 +0100)
commit225cb8d077b9d34ec20480aad3cbd9018798546f
tree9e55124874a98a163a27990f7e1d10a37339842f
parentd59240de8311a493ead948f382cc07e0d70fb1c1
Make test_multiprocessing cleanup properly

Previously, when an error was encountered some processes would not be
stopped until atexit callbacks were run.  On Windows that was too late
to prevent a PermissionError when regrtest tried to remove the temp
directory it ran the tests in.
Lib/test/test_multiprocessing.py