(pr_none)
| 201 | |
| 202 | |
| 203 | def test_proc_reader_send_sigint(pr_none) -> None: |
| 204 | assert pr_none._proc.poll() is None |
| 205 | pr_none.send_sigint() |
| 206 | pr_none.wait() |
| 207 | ret_code = pr_none._proc.poll() |
| 208 | |
| 209 | # Make sure a SIGINT killed the process |
| 210 | if sys.platform.startswith("win"): |
| 211 | assert ret_code is not None |
| 212 | else: |
| 213 | assert ret_code == -signal.SIGINT |
| 214 | |
| 215 | |
| 216 | def test_proc_reader_terminate(pr_none) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…