gh-115142: Skip `test__xxsubinterpreters if _testinternalcapi` is not available (#116507)

This commit is contained in:
Kirill Podoprigora 2024-03-09 15:28:13 +02:00 committed by GitHub
parent b4b4e764a7
commit b9cb855621
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,6 @@ from textwrap import dedent
import threading
import unittest
import _testinternalcapi
from test import support
from test.support import import_helper
from test.support import os_helper
@ -15,6 +14,7 @@ from test.support import script_helper
interpreters = import_helper.import_module('_xxsubinterpreters')
_testinternalcapi = import_helper.import_module('_testinternalcapi')
from _xxsubinterpreters import InterpreterNotFoundError