From c02e860ee79f29905be6fca997c96bb1a404bb32 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Thu, 20 Jan 2022 19:56:33 +0200 Subject: bpo-40280: Misc fixes for wasm32-emscripten (GH-30722) --- Lib/test/test_tracemalloc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/test_tracemalloc.py') diff --git a/Lib/test/test_tracemalloc.py b/Lib/test/test_tracemalloc.py index 82be98dfd8f..d2a5ede61e3 100644 --- a/Lib/test/test_tracemalloc.py +++ b/Lib/test/test_tracemalloc.py @@ -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() -- cgit v1.2.3