Fix python.healthy() check with stdlib module clashes

This commit is contained in:
Anthony Sottile
2019-10-22 13:23:57 -07:00
parent 1509dc497e
commit bfcee8ec9f
2 changed files with 11 additions and 0 deletions

View File

@@ -147,6 +147,7 @@ def py_interface(_dir, _make_venv):
retcode, _, _ = cmd_output_b(
'python', '-c',
'import ctypes, datetime, io, os, ssl, weakref',
cwd='/',
retcode=None,
)
return retcode == 0