(test)
| 42 | |
| 43 | |
| 44 | def skip_unless_reliable_fork(test): |
| 45 | if not support.has_fork_support: |
| 46 | return unittest.skip("requires working os.fork()")(test) |
| 47 | if sys.platform in platforms_to_skip: |
| 48 | return unittest.skip("due to known OS bug related to thread+fork")(test) |
| 49 | if support.HAVE_ASAN_FORK_BUG: |
| 50 | return unittest.skip("libasan has a pthread_create() dead lock related to thread+fork")(test) |
| 51 | if support.check_sanitizer(thread=True): |
| 52 | return unittest.skip("TSAN doesn't support threads after fork")(test) |
| 53 | return test |
| 54 | |
| 55 | |
| 56 | def requires_subinterpreters(meth): |
nothing calls this directly
no test coverage detected
searching dependent graphs…