From 9f21f033c92a119a79964382f198d14d5d1a05d8 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Sat, 9 Mar 2024 16:06:24 +0200 Subject: [3.12] gh-115142: Skip ``test__xxsubinterpreters`` if ``_testcapi`` is not available (#116543) --- Lib/test/test__xxsubinterpreters.py | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v0.12