https://github.com/python/cpython/commit/9f21f033c92a119a79964382f198d14d5d1a05d8
commit: 9f21f033c92a119a79964382f198d14d5d1a05d8
branch: 3.12
author: Kirill Podoprigora <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-03-09T14:06:24Z
summary:

[3.12] gh-115142: Skip ``test__xxsubinterpreters`` if ``_testcapi`` is not 
available (#116543)

files:
M Lib/test/test__xxsubinterpreters.py

diff --git a/Lib/test/test__xxsubinterpreters.py 
b/Lib/test/test__xxsubinterpreters.py
index 1ee18774d17209..e8a386c0e6fb94 100644
--- a/Lib/test/test__xxsubinterpreters.py
+++ b/Lib/test/test__xxsubinterpreters.py
@@ -7,14 +7,13 @@
 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

_______________________________________________
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]

Reply via email to