summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-04-07 07:22:47 (GMT)
committerGitHub <noreply@github.com>2022-04-07 07:22:47 (GMT)
commit2b16a08bc77475917dd5c96417aef4c5210b45ac (patch)
tree6188ad8008760a8710ba6692c44c25157c69d981 /Lib/distutils/tests
parent5aee46b31ba37d65cdf4d5a96cabb8835c508deb (diff)
downloadcpython-2b16a08bc77475917dd5c96417aef4c5210b45ac.zip
cpython-2b16a08bc77475917dd5c96417aef4c5210b45ac.tar.gz
cpython-2b16a08bc77475917dd5c96417aef4c5210b45ac.tar.bz2
bpo-40280: Detect missing threading on WASM platforms (GH-32352)
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'Lib/distutils/tests')
-rw-r--r--Lib/distutils/tests/test_build_ext.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/tests/test_build_ext.py b/Lib/distutils/tests/test_build_ext.py
index 460b62f..031897b 100644
--- a/Lib/distutils/tests/test_build_ext.py
+++ b/Lib/distutils/tests/test_build_ext.py
@@ -17,6 +17,7 @@ import unittest
from test import support
from test.support import os_helper
from test.support.script_helper import assert_python_ok
+from test.support import threading_helper
# http://bugs.python.org/issue4373
# Don't load the xx module more than once.
@@ -165,6 +166,7 @@ class BuildExtTestCase(TempdirManager,
self.assertIn(lib, cmd.rpath)
self.assertIn(incl, cmd.include_dirs)
+ @threading_helper.requires_working_threading()
def test_optional_extension(self):
# this extension will fail, but let's ignore this failure