]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-143001: Add @cpython_only to test_threading.ThreadTests.test_PyThreadState_SetAsyn...
authorJeong, YunWon <69878+youknowone@users.noreply.github.com>
Sat, 3 Jan 2026 15:01:49 +0000 (00:01 +0900)
committerGitHub <noreply@github.com>
Sat, 3 Jan 2026 15:01:49 +0000 (00:01 +0900)
Lib/test/test_threading.py

index efd69a1f4fe4686ffb039cd55d99f1b05bd3a73d..bdfd03b1e58f6282d759cb9ed6b4a7d510d1a59b 100644 (file)
@@ -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")