]> granicus.if.org Git - python/commit
Use setUpClass() and tearDownClass() in test_multiprocessing.
authorRichard Oudkerk <shibturn@gmail.com>
Mon, 8 Oct 2012 13:56:24 +0000 (14:56 +0100)
committerRichard Oudkerk <shibturn@gmail.com>
Mon, 8 Oct 2012 13:56:24 +0000 (14:56 +0100)
commitfc7b0ec5a209e1b36fa0e7ff3576c78558f18baa
treee9fba771f566874d8116d71098ed72cb5a05c9cf
parent5046e9741cd62cce9a5262cf20e1ece407a70726
Use setUpClass() and tearDownClass() in test_multiprocessing.

Each manager test class now uses a separate manager.  Also, process
pools are no longer created before starting any tests.

Note that warnings are written if the manager for a test case still
has live objects when it is shutdown.  This is true for a few test cases
which fail to wait for all child processes to end.
Lib/test/test_multiprocessing.py