Skip to content

Commit ce0133c

Browse files
committed
Add @cpython_only to test_PyThreadState_SetAsyncExc
which is stated by the document
1 parent 5b52636 commit ce0133c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_threading.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ def f(mutex):
323323

324324
# PyThreadState_SetAsyncExc() is a CPython-only gimmick, not (currently)
325325
# exposed at the Python level. This test relies on ctypes to get at it.
326+
@cpython_only
326327
def test_PyThreadState_SetAsyncExc(self):
327328
ctypes = import_module("ctypes")
328329

0 commit comments

Comments
 (0)