mirror of
https://github.com/python/cpython.git
synced 2025-08-10 03:49:18 +00:00
gh-116303: Skip test module dependent tests if test modules are unavailable (#117341)
This commit is contained in:
parent
2ec6bb4111
commit
ea94b3b149
57 changed files with 255 additions and 123 deletions
|
@ -266,6 +266,7 @@ class FaultHandlerTests(unittest.TestCase):
|
|||
5,
|
||||
'Illegal instruction')
|
||||
|
||||
@unittest.skipIf(_testcapi is None, 'need _testcapi')
|
||||
def check_fatal_error_func(self, release_gil):
|
||||
# Test that Py_FatalError() dumps a traceback
|
||||
with support.SuppressCrashReport():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue