(self)
| 3238 | |
| 3239 | @unittest.skipUnless(sys.platform == 'win32', 'win32-specific test') |
| 3240 | def test_waitpid_windows(self): |
| 3241 | # bpo-40138: test os.waitpid() and os.waitstatus_to_exitcode() |
| 3242 | # with exit code larger than INT_MAX. |
| 3243 | STATUS_CONTROL_C_EXIT = 0xC000013A |
| 3244 | code = f'import _winapi; _winapi.ExitProcess({STATUS_CONTROL_C_EXIT})' |
| 3245 | self.check_waitpid(code, exitcode=STATUS_CONTROL_C_EXIT) |
| 3246 | |
| 3247 | @unittest.skipUnless(sys.platform == 'win32', 'win32-specific test') |
| 3248 | def test_waitstatus_to_exitcode_windows(self): |
nothing calls this directly
no test coverage detected