(self)
| 275 | @support.skip_if_sanitizer("TSAN itercepts SIGBUS", thread=True) |
| 276 | @skip_segfault_on_android |
| 277 | def test_sigbus(self): |
| 278 | self.check_fatal_error(""" |
| 279 | import faulthandler |
| 280 | import signal |
| 281 | |
| 282 | faulthandler.enable() |
| 283 | signal.raise_signal(signal.SIGBUS) |
| 284 | """, |
| 285 | 5, |
| 286 | 'Bus error') |
| 287 | |
| 288 | @unittest.skipIf(_testcapi is None, 'need _testcapi') |
| 289 | @unittest.skipUnless(hasattr(signal, 'SIGILL'), 'need signal.SIGILL') |
nothing calls this directly
no test coverage detected