https://github.com/python/cpython/commit/b9cb855621c0813846421e4ced97260a32e57063
commit: b9cb855621c0813846421e4ced97260a32e57063
branch: main
author: Kirill Podoprigora <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-03-09T16:28:13+03:00
summary:
gh-115142: Skip ``test__xxsubinterpreters`` if ``_testinternalcapi`` is not
available (#116507)
files:
M Lib/test/test__xxsubinterpreters.py
diff --git a/Lib/test/test__xxsubinterpreters.py
b/Lib/test/test__xxsubinterpreters.py
index a76e4d0ade5b8a..35d7355680e549 100644
--- a/Lib/test/test__xxsubinterpreters.py
+++ b/Lib/test/test__xxsubinterpreters.py
@@ -7,7 +7,6 @@
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 @@
interpreters = import_helper.import_module('_xxsubinterpreters')
+_testinternalcapi = import_helper.import_module('_testinternalcapi')
from _xxsubinterpreters import InterpreterNotFoundError
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]