summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorKirill Podoprigora <kirill.bast9@mail.ru>2024-03-09 14:06:24 (GMT)
committerGitHub <noreply@github.com>2024-03-09 14:06:24 (GMT)
commit9f21f033c92a119a79964382f198d14d5d1a05d8 (patch)
tree56479e45822c36da6f74bd0851bc54369ef67afe /Lib
parent3f92cf272e19086466add674585a9aa324334e0d (diff)
downloadcpython-9f21f033c92a119a79964382f198d14d5d1a05d8.zip
cpython-9f21f033c92a119a79964382f198d14d5d1a05d8.tar.gz
cpython-9f21f033c92a119a79964382f198d14d5d1a05d8.tar.bz2
[3.12] gh-115142: Skip ``test__xxsubinterpreters`` if ``_testcapi`` is not available (#116543)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test__xxsubinterpreters.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test__xxsubinterpreters.py b/Lib/test/test__xxsubinterpreters.py
index 1ee1877..e8a386c 100644
--- a/Lib/test/test__xxsubinterpreters.py
+++ b/Lib/test/test__xxsubinterpreters.py
@@ -7,14 +7,13 @@ from textwrap import dedent
import threading
import unittest
-import _testcapi
from test import support
from test.support import import_helper
from test.support import script_helper
interpreters = import_helper.import_module('_xxsubinterpreters')
-
+_testcapi = import_helper.import_module('_testcapi')
##################################
# helpers