MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

setUpMethod · 0.45

Tested by

no test coverage detected