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

Method test_kill

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

Source from the content-addressed store, hash-verified

665
666 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
667 def test_kill(self):
668 exitcode = self._kill_process(multiprocessing.Process.kill)
669 if os.name != 'nt':
670 self.assertEqual(exitcode, -signal.SIGKILL)
671 else:
672 self.assertEqual(exitcode, -signal.SIGTERM)
673
674 def test_cpu_count(self):
675 try:

Callers

nothing calls this directly

Calls 2

_kill_processMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected