(self)
| 251 | @support.skip_if_sanitizer("TSAN itercepts SIGBUS", thread=True) |
| 252 | @skip_segfault_on_android |
| 253 | def test_sigbus(self): |
| 254 | self.check_fatal_error(""" |
| 255 | import faulthandler |
| 256 | import signal |
| 257 | |
| 258 | faulthandler.enable() |
| 259 | signal.raise_signal(signal.SIGBUS) |
| 260 | """, |
| 261 | 5, |
| 262 | 'Bus error') |
| 263 | |
| 264 | @unittest.skipIf(_testcapi is None, 'need _testcapi') |
| 265 | @unittest.skipUnless(hasattr(signal, 'SIGILL'), 'need signal.SIGILL') |
nothing calls this directly
no test coverage detected