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

Method _killer

Lib/test/_test_multiprocessing.py:5018–5020  ·  view source on GitHub ↗
(cls, pid)

Source from the content-addressed store, hash-verified

5016
5017 @classmethod
5018 def _killer(cls, pid):
5019 time.sleep(0.1)
5020 os.kill(pid, signal.SIGUSR1)
5021
5022 @unittest.skipUnless(hasattr(signal, 'SIGUSR1'), 'requires SIGUSR1')
5023 def test_poll_eintr(self):

Callers

nothing calls this directly

Calls 2

sleepMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected