mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
gh-115142: Skip `test__xxsubinterpreters
if
_testinternalcapi
` is not available (#116507)
This commit is contained in:
parent
b4b4e764a7
commit
b9cb855621
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,6 @@ from textwrap import dedent
|
||||||
import threading
|
import threading
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
import _testinternalcapi
|
|
||||||
from test import support
|
from test import support
|
||||||
from test.support import import_helper
|
from test.support import import_helper
|
||||||
from test.support import os_helper
|
from test.support import os_helper
|
||||||
|
@ -15,6 +14,7 @@ from test.support import script_helper
|
||||||
|
|
||||||
|
|
||||||
interpreters = import_helper.import_module('_xxsubinterpreters')
|
interpreters = import_helper.import_module('_xxsubinterpreters')
|
||||||
|
_testinternalcapi = import_helper.import_module('_testinternalcapi')
|
||||||
from _xxsubinterpreters import InterpreterNotFoundError
|
from _xxsubinterpreters import InterpreterNotFoundError
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue