tests/test-install.t
branchstable
changeset 43412 ca0cd0a13514
parent 43410 9bab6407c2c9
child 43617 697c2e32c490
--- a/tests/test-install.t	Thu Oct 17 16:46:13 2019 -0400
+++ b/tests/test-install.t	Mon Nov 04 23:42:18 2019 -0800
@@ -241,12 +241,15 @@
 shell environment in order to make the virtualenv work reliably.
 
 On Python 3, we use the venv module, which is part of the standard library.
+But some Linux distros strip out this module's functionality involving pip,
+so we have to look for the ensurepip module, which these distros strip out
+completely.
 On Python 2, we use the 3rd party virtualenv module, if available.
 
   $ cd $TESTTMP
   $ unset PYTHONPATH
 
-#if py3
+#if py3 ensurepip
   $ "$PYTHON" -m venv installenv >> pip.log
 
 Note: we use this weird path to run pip and hg to avoid platform differences,