mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
gh-115142: Skip test_optimizer if _testinternalcapi module is not available (GH-115175)
This commit is contained in:
parent
31633f4473
commit
f8931adc59
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
import _testinternalcapi
|
|
||||||
import unittest
|
import unittest
|
||||||
import types
|
import types
|
||||||
|
from test.support import import_helper
|
||||||
|
|
||||||
|
|
||||||
|
_testinternalcapi = import_helper.import_module("_testinternalcapi")
|
||||||
|
|
||||||
|
|
||||||
class TestRareEventCounters(unittest.TestCase):
|
class TestRareEventCounters(unittest.TestCase):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue