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

Method test_terminate

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

Source from the content-addressed store, hash-verified

660
661 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
662 def test_terminate(self):
663 exitcode = self._kill_process(multiprocessing.Process.terminate)
664 self.assertEqual(exitcode, -signal.SIGTERM)
665
666 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
667 def test_kill(self):

Callers

nothing calls this directly

Calls 2

_kill_processMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected