MCPcopy Create free account
hub / github.com/EasyIME/PIME / test_sigchild

Method test_sigchild

python/python3/tornado/test/process_test.py:201–208  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

199 subproc.stderr.close()
200
201 def test_sigchild(self):
202 Subprocess.initialize()
203 self.addCleanup(Subprocess.uninitialize)
204 subproc = Subprocess([sys.executable, "-c", "pass"])
205 subproc.set_exit_callback(self.stop)
206 ret = self.wait()
207 self.assertEqual(ret, 0)
208 self.assertEqual(subproc.returncode, ret)
209
210 @gen_test
211 def test_sigchild_future(self):

Callers

nothing calls this directly

Calls 4

set_exit_callbackMethod · 0.95
SubprocessClass · 0.90
initializeMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected