bpo-40280: Misc fixes for wasm32-emscripten (GH-30722)

This commit is contained in:
Christian Heimes 2022-01-20 19:56:33 +02:00 committed by GitHub
parent ef3ef6fa43
commit c02e860ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 34 additions and 6 deletions

View file

@ -346,7 +346,7 @@ class TestTracemallocEnabled(unittest.TestCase):
# everything is fine
return 0
@unittest.skipUnless(hasattr(os, 'fork'), 'need os.fork()')
@support.requires_fork()
def test_fork(self):
# check that tracemalloc is still working after fork
pid = os.fork()