mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +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
|
@ -89,6 +89,7 @@ class AuditTest(unittest.TestCase):
|
|||
)
|
||||
|
||||
def test_unraisablehook(self):
|
||||
import_helper.import_module("_testcapi")
|
||||
returncode, events, stderr = self.run_python("test_unraisablehook")
|
||||
if returncode:
|
||||
self.fail(stderr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue