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

Method test_kill_sigterm

Lib/test/test_os/test_windows.py:79–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77 self.assertEqual(proc.wait(), sig)
78
79 def test_kill_sigterm(self):
80 # SIGTERM doesn't mean anything special, but make sure it works
81 self._kill(signal.SIGTERM)
82
83 def test_kill_int(self):
84 # os.kill on Windows can take an int which gets set as the exit code

Callers

nothing calls this directly

Calls 1

_killMethod · 0.95

Tested by

no test coverage detected