diff options
author | Kirill Podoprigora <kirill.bast9@mail.ru> | 2024-03-09 13:28:13 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 13:28:13 (GMT) |
commit | b9cb855621c0813846421e4ced97260a32e57063 (patch) | |
tree | b7e073d8a881172219f08915dc09df9effcbc600 | |
parent | b4b4e764a798bab60324871074ce4cdebb9d01bb (diff) | |
download | cpython-b9cb855621c0813846421e4ced97260a32e57063.zip cpython-b9cb855621c0813846421e4ced97260a32e57063.tar.gz cpython-b9cb855621c0813846421e4ced97260a32e57063.tar.bz2 |
gh-115142: Skip ``test__xxsubinterpreters`` if ``_testinternalcapi`` is not available (#116507)
-rw-r--r-- | Lib/test/test__xxsubinterpreters.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test__xxsubinterpreters.py b/Lib/test/test__xxsubinterpreters.py index a76e4d0..35d7355 100644 --- a/Lib/test/test__xxsubinterpreters.py +++ b/Lib/test/test__xxsubinterpreters.py @@ -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 |