We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f52d2d4 commit 1f5a8e4Copy full SHA for 1f5a8e4
1 file changed
Lib/test/test_faulthandler.py
@@ -360,6 +360,17 @@ def test_enable_single_thread(self):
360
'Segmentation fault',
361
all_threads=False)
362
363
+ @skip_segfault_on_android
364
+ def test_enable_without_c_stack(self):
365
+ self.check_fatal_error("""
366
+ import faulthandler
367
+ faulthandler.enable(c_stack=False)
368
+ faulthandler._sigsegv()
369
+ """,
370
+ 3,
371
+ 'Segmentation fault',
372
+ c_stack=False)
373
+
374
@skip_segfault_on_android
375
def test_disable(self):
376
code = """
0 commit comments