mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-115142: Skip `test_capi/test_opt.py if _testinternalcapi` is not available (GH-117574)
This commit is contained in:
parent
be82058064
commit
91d7605ac3
1 changed files with 3 additions and 2 deletions
|
|
@ -6,9 +6,10 @@ import gc
|
|||
import os
|
||||
|
||||
import _opcode
|
||||
import _testinternalcapi
|
||||
|
||||
from test.support import script_helper, requires_specialization
|
||||
from test.support import script_helper, requires_specialization, import_helper
|
||||
|
||||
_testinternalcapi = import_helper.import_module("_testinternalcapi")
|
||||
|
||||
from _testinternalcapi import TIER2_THRESHOLD
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue