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

Method test_kill

Lib/test/_test_multiprocessing.py:582–587  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

580 self.assertEqual(exitcode, -signal.SIGTERM)
581
582 def test_kill(self):
583 exitcode = self._kill_process(multiprocessing.Process.kill)
584 if os.name != 'nt':
585 self.assertEqual(exitcode, -signal.SIGKILL)
586 else:
587 self.assertEqual(exitcode, -signal.SIGTERM)
588
589 def test_cpu_count(self):
590 try:

Callers

nothing calls this directly

Calls 2

_kill_processMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected