mirror of https://github.com/python/cpython
gh-115142: Skip test_optimizer if _testinternalcapi module is not available (GH-115175)
This commit is contained in:
parent
31633f4473
commit
f8931adc59
|
@ -1,6 +1,9 @@
|
|||
import _testinternalcapi
|
||||
import unittest
|
||||
import types
|
||||
from test.support import import_helper
|
||||
|
||||
|
||||
_testinternalcapi = import_helper.import_module("_testinternalcapi")
|
||||
|
||||
|
||||
class TestRareEventCounters(unittest.TestCase):
|
||||
|
|
Loading…
Reference in New Issue