Mercurial > hg-stable
changeset 32972:b5305a499dfc
tests: tell pip not to check for a newer version
pip will check to see if it's the latest version, and complain if it isn't.
The --no-index flag implies the --disable-pip-version-check flag, and makes
the warning (and any associated network activity) go away.
author | Danek Duvall <danek.duvall@oracle.com> |
---|---|
date | Tue, 20 Jun 2017 14:35:53 -0700 |
parents | 6d79e9109908 |
children | 70661eeb8ddb |
files | tests/test-install.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-install.t Sat Apr 22 21:16:08 2017 +0900 +++ b/tests/test-install.t Tue Jun 20 14:35:53 2017 -0700 @@ -188,7 +188,7 @@ $ $PYTHON -m virtualenv --no-site-packages --never-download installenv >> pip.log Note: we use this weird path to run pip and hg to avoid platform differences, since it's bin on most platforms but Scripts on Windows. - $ ./installenv/*/pip install $TESTDIR/.. >> pip.log + $ ./installenv/*/pip install --no-index $TESTDIR/.. >> pip.log $ ./installenv/*/hg debuginstall || cat pip.log checking encoding (ascii)... checking Python executable (*) (glob)