mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -14,7 +14,7 @@ try:
|
|||
from _testexternalinspection import PROCESS_VM_READV_SUPPORTED
|
||||
from _testexternalinspection import get_stack_trace
|
||||
except ImportError:
|
||||
unittest.skip("Test only runs when _testexternalinspection is available")
|
||||
raise unittest.SkipTest("Test only runs when _testexternalinspection is available")
|
||||
|
||||
def _make_test_script(script_dir, script_basename, source):
|
||||
to_return = make_script(script_dir, script_basename, source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue