| 3446 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 3447 | @support.skip_if_sanitizer('TSan: leaks threads', thread=True) |
| 3448 | def test_mymanager(self): |
| 3449 | manager = MyManager(shutdown_timeout=SHUTDOWN_TIMEOUT) |
| 3450 | manager.start() |
| 3451 | self.common(manager) |
| 3452 | manager.shutdown() |
| 3453 | |
| 3454 | # bpo-30356: BaseManager._finalize_manager() sends SIGTERM |
| 3455 | # to the manager process if it takes longer than 1 second to stop, |
| 3456 | # which happens on slow buildbots. |
| 3457 | self.assertIn(manager._process.exitcode, (0, -signal.SIGTERM)) |
| 3458 | |
| 3459 | @warnings_helper.ignore_fork_in_thread_deprecation_warnings() |
| 3460 | @support.skip_if_sanitizer('TSan: leaks threads', thread=True) |