mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +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
|
@ -1,6 +1,7 @@
|
|||
import doctest
|
||||
import unittest
|
||||
from test import support
|
||||
from test.support import threading_helper
|
||||
from itertools import *
|
||||
import weakref
|
||||
from decimal import Decimal
|
||||
|
@ -1533,6 +1534,7 @@ class TestBasicOps(unittest.TestCase):
|
|||
with self.assertRaisesRegex(RuntimeError, "tee"):
|
||||
next(a)
|
||||
|
||||
@threading_helper.requires_working_threading()
|
||||
def test_tee_concurrent(self):
|
||||
start = threading.Event()
|
||||
finish = threading.Event()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue