Add @cpython_only to test_PyThreadState_SetAsyncExc

which is stated by the document
This commit is contained in:
Jeong YunWon 2025-12-20 12:54:33 +09:00
parent 5b5263648f
commit ce0133c0b0

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