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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index 7e94a31..93d87be 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -612,7 +612,8 @@ def collect_get_config(info_add):
def collect_subprocess(info_add):
import subprocess
- copy_attributes(info_add, subprocess, 'subprocess.%s', ('_USE_POSIX_SPAWN',))
+ attrs = ('_USE_POSIX_SPAWN', '_HAVE_POSIX_SPAWNP')
+ copy_attributes(info_add, subprocess, 'subprocess.%s', attrs)
def collect_info(info):