mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-127604: Add C stack dumps to faulthandler
(#128159)
This commit is contained in:
parent
ea8ec95cfa
commit
8dfa840773
13 changed files with 378 additions and 69 deletions
|
@ -5760,7 +5760,7 @@ class TestSignatureDefinitions(unittest.TestCase):
|
|||
|
||||
def test_faulthandler_module_has_signatures(self):
|
||||
import faulthandler
|
||||
unsupported_signature = {'dump_traceback', 'dump_traceback_later', 'enable'}
|
||||
unsupported_signature = {'dump_traceback', 'dump_traceback_later', 'enable', 'dump_c_stack'}
|
||||
unsupported_signature |= {name for name in ['register']
|
||||
if hasattr(faulthandler, name)}
|
||||
self._test_module_has_signatures(faulthandler, unsupported_signature=unsupported_signature)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue