From: Jeong, YunWon <69878+youknowone@users.noreply.github.com> Date: Sat, 3 Jan 2026 15:01:49 +0000 (+0900) Subject: gh-143001: Add @cpython_only to test_threading.ThreadTests.test_PyThreadState_SetAsyn... X-Git-Tag: v3.15.0a5~11^2~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c56f9e2ccefa4eb420902339845f22659d47f3b;p=thirdparty%2FPython%2Fcpython.git gh-143001: Add @cpython_only to test_threading.ThreadTests.test_PyThreadState_SetAsyncExc (gh-143002) --- diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py index efd69a1f4fe4..bdfd03b1e58f 100644 --- a/Lib/test/test_threading.py +++ b/Lib/test/test_threading.py @@ -323,6 +323,7 @@ class ThreadTests(BaseTestCase): # 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")