Skip to content

Commit

Permalink
pythongh-115142: Skip test_opt if _testinternalcapi is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
Eclips4 committed Apr 5, 2024
1 parent 6150bb2 commit 7a32a94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Lib/test/test_capi/test_opt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
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

Expand Down

0 comments on commit 7a32a94

Please sign in to comment.