summaryrefslogtreecommitdiffstats
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend@python.org>2024-03-28 08:40:37 (GMT)
committerGitHub <noreply@github.com>2024-03-28 08:40:37 (GMT)
commit6c8ac8a32fd6de1960526561c44bc5603fab0f3e (patch)
tree0887ed16cc1dd81430fe69f671c714c05e3785d9 /Lib/test/pythoninfo.py
parent0f27672c5002de96c9f1228b12460d5ce3f1d190 (diff)
downloadcpython-6c8ac8a32fd6de1960526561c44bc5603fab0f3e.zip
cpython-6c8ac8a32fd6de1960526561c44bc5603fab0f3e.tar.gz
cpython-6c8ac8a32fd6de1960526561c44bc5603fab0f3e.tar.bz2
gh-116303: Handle disabled test modules in test.support helpers (#116482)
Make sure test.support helpers skip iso. failing if test extension modules are disabled. Also log TEST_MODULES in test.pythoninfo.
Diffstat (limited to 'Lib/test/pythoninfo.py')
-rw-r--r--Lib/test/pythoninfo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index c8bf16d..0cfd033 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -524,6 +524,7 @@ def collect_sysconfig(info_add):
'Py_GIL_DISABLED',
'SHELL',
'SOABI',
+ 'TEST_MODULES',
'abs_builddir',
'abs_srcdir',
'prefix',