MCPcopy
hub / github.com/tornadoweb/tornado / test_sigchild_future

Method test_sigchild_future

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

wait_for_exitMethod · 0.95
SubprocessClass · 0.90
initializeMethod · 0.45

Tested by

no test coverage detected