(*args, **kwargs)
| 223 | |
| 224 | @functools.wraps(test_item) |
| 225 | def forkserver_check_wrapper(*args, **kwargs): |
| 226 | if not support.has_fork_support: |
| 227 | raise unittest.SkipTest("requires working os.fork()") |
| 228 | if (start_method := multiprocessing.get_start_method()) != "forkserver": |
| 229 | raise unittest.SkipTest( |
| 230 | f"{start_method=}, not 'forkserver'; {reason}") |
| 231 | return test_item(*args, **kwargs) |
| 232 | |
| 233 | return forkserver_check_wrapper |
| 234 |
nothing calls this directly
no test coverage detected
searching dependent graphs…