mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
parent
4ddee7f5fd
commit
57003f81ea
2 changed files with 18 additions and 2 deletions
|
@ -185,6 +185,14 @@ class FaultHandlerTests(unittest.TestCase):
|
|||
2,
|
||||
'xyz')
|
||||
|
||||
def test_fatal_error_without_gil(self):
|
||||
self.check_fatal_error("""
|
||||
import faulthandler
|
||||
faulthandler._fatal_error(b'xyz', True)
|
||||
""",
|
||||
2,
|
||||
'xyz')
|
||||
|
||||
@unittest.skipIf(sys.platform.startswith('openbsd') and HAVE_THREADS,
|
||||
"Issue #12868: sigaltstack() doesn't work on "
|
||||
"OpenBSD if Python is compiled with pthread")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue