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

This commit is contained in:
Jeong, YunWon 2026-01-04 00:01:49 +09:00 committed by GitHub
parent 27434c68f8
commit 3c56f9e2cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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")