(self, wait_func)
| 111 | self._test_wait_multiple(lambda: os.wait3(0)) |
| 112 | |
| 113 | def _test_wait_single(self, wait_func): |
| 114 | proc = self.new_sleep_process() |
| 115 | wait_func(proc.pid) |
| 116 | # Call the Popen method to avoid a ResourceWarning |
| 117 | proc.wait() |
| 118 | |
| 119 | def test_waitpid(self): |
| 120 | self._test_wait_single(lambda pid: os.waitpid(pid, 0)) |
no test coverage detected