mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Add @cpython_only to test_PyThreadState_SetAsyncExc
which is stated by the document
This commit is contained in:
parent
5b5263648f
commit
ce0133c0b0
1 changed files with 1 additions and 0 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue