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

Method test_kill_sigterm

Lib/test/test_os.py:2861–2863  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2859 self.assertEqual(proc.wait(), sig)
2860
2861 def test_kill_sigterm(self):
2862 # SIGTERM doesn't mean anything special, but make sure it works
2863 self._kill(signal.SIGTERM)
2864
2865 def test_kill_int(self):
2866 # 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