(*args, **kwargs)
| 198 | |
| 199 | @functools.wraps(test_item) |
| 200 | def spawn_check_wrapper(*args, **kwargs): |
| 201 | if (start_method := multiprocessing.get_start_method()) != "spawn": |
| 202 | raise unittest.SkipTest(f"{start_method=}, not 'spawn'; {reason}") |
| 203 | return test_item(*args, **kwargs) |
| 204 | |
| 205 | return spawn_check_wrapper |
| 206 |
nothing calls this directly
no test coverage detected
searching dependent graphs…