mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-40280: Detect missing threading on WASM platforms (GH-32352)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
5aee46b31b
commit
2b16a08bc7
33 changed files with 103 additions and 21 deletions
|
@ -710,6 +710,7 @@ class TestPendingCalls(unittest.TestCase):
|
|||
if False and support.verbose:
|
||||
print("(%i)"%(len(l),))
|
||||
|
||||
@threading_helper.requires_working_threading()
|
||||
def test_pendingcalls_threaded(self):
|
||||
|
||||
#do every callback on a separate thread
|
||||
|
@ -840,6 +841,7 @@ class SubinterpreterTest(unittest.TestCase):
|
|||
class TestThreadState(unittest.TestCase):
|
||||
|
||||
@threading_helper.reap_threads
|
||||
@threading_helper.requires_working_threading()
|
||||
def test_thread_state(self):
|
||||
# some extra thread-state tests driven via _testcapi
|
||||
def target():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue