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.
This commit is contained in:
Erlend E. Aasland 2024-03-28 09:40:37 +01:00 committed by GitHub
parent 0f27672c50
commit 6c8ac8a32f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 8 deletions

View file

@ -524,6 +524,7 @@ def collect_sysconfig(info_add):
'Py_GIL_DISABLED',
'SHELL',
'SOABI',
'TEST_MODULES',
'abs_builddir',
'abs_srcdir',
'prefix',