mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +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
|
@ -2949,6 +2949,7 @@ class OldTestFlag(unittest.TestCase):
|
|||
self.assertEqual(str(Color.BLUE), 'blue')
|
||||
|
||||
@threading_helper.reap_threads
|
||||
@threading_helper.requires_working_threading()
|
||||
def test_unique_composite(self):
|
||||
# override __eq__ to be identity only
|
||||
class TestFlag(Flag):
|
||||
|
@ -3481,6 +3482,7 @@ class OldTestIntFlag(unittest.TestCase):
|
|||
self.assertEqual(str(Color.BLUE), 'blue')
|
||||
|
||||
@threading_helper.reap_threads
|
||||
@threading_helper.requires_working_threading()
|
||||
def test_unique_composite(self):
|
||||
# override __eq__ to be identity only
|
||||
class TestFlag(IntFlag):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue