10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b542972 commit fcf0647Copy full SHA for fcf0647
Lib/test/test_capi/test_misc.py
@@ -1406,6 +1406,7 @@ def wait_for_result(self):
1406
while self.result is None:
1407
time.sleep(0.01)
1408
1409
+ @threading_helper.requires_working_threading()
1410
def test_subthreads_can_handle_pending_calls(self):
1411
payload = 'Spam spam spam spam. Lovely spam! Wonderful spam!'
1412
@@ -1421,6 +1422,7 @@ def do_the_work():
1421
1422
1423
self.assertEqual(task.result, payload)
1424
1425
1426
def test_many_subthreads_can_handle_pending_calls(self):
1427
main_tid = threading.get_ident()
1428
self.assertEqual(threading.main_thread().ident, main_tid)
0 commit comments