MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

Lib/test/_test_multiprocessing.py:5464–5468  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5462@hashlib_helper.requires_hashdigest('sha256')
5463class TestInitializers(unittest.TestCase):
5464 def setUp(self):
5465 with warnings_helper.ignore_fork_in_thread_deprecation_warnings():
5466 self.mgr = multiprocessing.Manager()
5467 self.ns = self.mgr.Namespace()
5468 self.ns.test = 0
5469
5470 def tearDown(self):
5471 self.mgr.shutdown()

Callers

nothing calls this directly

Calls 1

ManagerMethod · 0.80

Tested by

no test coverage detected