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

Method setUp

Lib/test/test_subprocess.py:3991–3994  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3989 "Test needs selectors.PollSelector")
3990class ProcessTestCaseNoPoll(ProcessTestCase):
3991 def setUp(self):
3992 self.orig_selector = subprocess._PopenSelector
3993 subprocess._PopenSelector = selectors.SelectSelector
3994 ProcessTestCase.setUp(self)
3995
3996 def tearDown(self):
3997 subprocess._PopenSelector = self.orig_selector

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected