Skip to content

Commit 3367028

Browse files
committed
mark test_threading
1 parent 46c61a6 commit 3367028

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_threading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ def f(mutex):
229229

230230
# PyThreadState_SetAsyncExc() is a CPython-only gimmick, not (currently)
231231
# exposed at the Python level. This test relies on ctypes to get at it.
232+
@unittest.skip("TODO: RUSTPYTHON; expects @cpython_only")
232233
def test_PyThreadState_SetAsyncExc(self):
233234
ctypes = import_module("ctypes")
234235

@@ -332,6 +333,7 @@ def fail_new_thread(*args):
332333
finally:
333334
threading._start_new_thread = _start_new_thread
334335

336+
@unittest.skip("TODO: RUSTPYTHON; ctypes.pythonapi is not supported")
335337
def test_finalize_running_thread(self):
336338
# Issue 1402: the PyGILState_Ensure / _Release functions may be called
337339
# very late on python exit: on deallocation of a running thread for

0 commit comments

Comments
 (0)