Skip to content

Commit b9cb855

Browse files
authored
gh-115142: Skip test__xxsubinterpreters if _testinternalcapi is not available (#116507)
1 parent b4b4e76 commit b9cb855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test__xxsubinterpreters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
import threading
88
import unittest
99

10-
import _testinternalcapi
1110
from test import support
1211
from test.support import import_helper
1312
from test.support import os_helper
1413
from test.support import script_helper
1514

1615

1716
interpreters = import_helper.import_module('_xxsubinterpreters')
17+
_testinternalcapi = import_helper.import_module('_testinternalcapi')
1818
from _xxsubinterpreters import InterpreterNotFoundError
1919

2020

0 commit comments

Comments
 (0)