(self)
| 5482 | |
| 5483 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 5484 | def test_pool_initializer(self): |
| 5485 | self.assertRaises(TypeError, multiprocessing.Pool, initializer=1) |
| 5486 | p = multiprocessing.Pool(1, initializer, (self.ns,)) |
| 5487 | p.close() |
| 5488 | p.join() |
| 5489 | self.assertEqual(self.ns.test, 1) |
| 5490 | |
| 5491 | # |
| 5492 | # Issue 5155, 5313, 5331: Test process in processes |
nothing calls this directly
no test coverage detected