summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_tracemalloc.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-20 17:56:33 (GMT)
committerGitHub <noreply@github.com>2022-01-20 17:56:33 (GMT)
commitc02e860ee79f29905be6fca997c96bb1a404bb32 (patch)
treea4376cbc44b23a6eb5919fee929ae0a63cec1c36 /Lib/test/test_tracemalloc.py
parentef3ef6fa43d5cca072eed2a66064e818de583be7 (diff)
downloadcpython-c02e860ee79f29905be6fca997c96bb1a404bb32.zip
cpython-c02e860ee79f29905be6fca997c96bb1a404bb32.tar.gz
cpython-c02e860ee79f29905be6fca997c96bb1a404bb32.tar.bz2
bpo-40280: Misc fixes for wasm32-emscripten (GH-30722)
Diffstat (limited to 'Lib/test/test_tracemalloc.py')
-rw-r--r--Lib/test/test_tracemalloc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tracemalloc.py b/Lib/test/test_tracemalloc.py
index 82be98d..d2a5ede 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()