gh-115142: Skip test_optimizer if _testinternalcapi module is not available (GH-115175)

This commit is contained in:
Kirill Podoprigora 2024-02-09 19:59:41 +03:00 committed by GitHub
parent 31633f4473
commit f8931adc59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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):