summaryrefslogtreecommitdiffstats
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/pythoninfo.py')
-rw-r--r--Lib/test/pythoninfo.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index 1ec04de..c0b2112 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -704,6 +704,19 @@ def collect_test_support(info_add):
attributes = ('IPV6_ENABLED',)
copy_attributes(info_add, support, 'test_support.%s', attributes)
+ attributes = (
+ 'MS_WINDOWS',
+ 'has_fork_support',
+ 'has_socket_support',
+ 'has_strftime_extensions',
+ 'has_subprocess_support',
+ 'is_android',
+ 'is_emscripten',
+ 'is_jython',
+ 'is_wasi',
+ )
+ copy_attributes(info_add, support, 'support.%s', attributes)
+
call_func(info_add, 'test_support._is_gui_available', support, '_is_gui_available')
call_func(info_add, 'test_support.python_is_optimized', support, 'python_is_optimized')