mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-95174: Add pthread stubs for WASI (GH-95234)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
226d02bb10
commit
0fe645d6fd
17 changed files with 332 additions and 41 deletions
|
@ -626,7 +626,7 @@ class SysModuleTest(unittest.TestCase):
|
|||
def test_thread_info(self):
|
||||
info = sys.thread_info
|
||||
self.assertEqual(len(info), 3)
|
||||
self.assertIn(info.name, ('nt', 'pthread', 'solaris', None))
|
||||
self.assertIn(info.name, ('nt', 'pthread', 'pthread-stubs', 'solaris', None))
|
||||
self.assertIn(info.lock, ('semaphore', 'mutex+cond', None))
|
||||
|
||||
@unittest.skipUnless(support.is_emscripten, "only available on Emscripten")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue