(self)
| 646 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 647 | @unittest.skipIf(os.name == 'nt', "POSIX only") |
| 648 | def test_interrupt(self): |
| 649 | exitcode = self._kill_process(multiprocessing.Process.interrupt) |
| 650 | self.assertEqual(exitcode, 1) |
| 651 | # exit code 1 is hard-coded for uncaught exceptions |
| 652 | # (KeyboardInterrupt in this case) |
| 653 | # in multiprocessing.BaseProcess._bootstrap |
| 654 | |
| 655 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 656 | @unittest.skipIf(os.name == 'nt', "POSIX only") |
nothing calls this directly
no test coverage detected