10000 gh-104812: Skip Pending Calls Tests if No Threading (gh-105761) · python/cpython@fcf0647 · GitHub
[go: up one dir, main page]

Skip to content

Commit fcf0647

Browse files
gh-104812: Skip Pending Calls Tests if No Threading (gh-105761)
This fixes the WASM buildbots.
1 parent b542972 commit fcf0647

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_capi/test_misc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,7 @@ def wait_for_result(self):
14061406
while self.result is None:
14071407
time.sleep(0.01)
14081408

1409+
@threading_helper.requires_working_threading()
14091410
def test_subthreads_can_handle_pending_calls(self):
14101411
payload = 'Spam spam spam spam. Lovely spam! Wonderful spam!'
14111412

@@ -1421,6 +1422,7 @@ def do_the_work():
14211422

14221423
self.assertEqual(task.result, payload)
14231424

1425+
@threading_helper.requires_working_threading()
14241426
def test_many_subthreads_can_handle_pending_calls(self):
14251427
main_tid = threading.get_ident()
14261428
self.assertEqual(threading.main_thread().ident, main_tid)

0 commit comments

Comments
 (0)
0