https://github.com/python/cpython/commit/3c56f9e2ccefa4eb420902339845f22659d47f3b
commit: 3c56f9e2ccefa4eb420902339845f22659d47f3b
branch: main
author: Jeong, YunWon <[email protected]>
committer: corona10 <[email protected]>
date: 2026-01-04T00:01:49+09:00
summary:

gh-143001: Add @cpython_only to 
test_threading.ThreadTests.test_PyThreadState_SetAsyncExc (gh-143002)

files:
M Lib/test/test_threading.py

diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index efd69a1f4fe468..bdfd03b1e58f62 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -323,6 +323,7 @@ def f(mutex):
 
     # PyThreadState_SetAsyncExc() is a CPython-only gimmick, not (currently)
     # exposed at the Python level.  This test relies on ctypes to get at it.
+    @cpython_only
     def test_PyThreadState_SetAsyncExc(self):
         ctypes = import_module("ctypes")
 

_______________________________________________
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