# HG changeset patch # User Gregory Szorc # Date 1549301365 28800 # Node ID 14983ac4a76428d593dd016ddd51ba9ccd4b31d6 # Parent 4dd07bf846085347a361c7f79e90b0110e83d668 tests: add optional Python 2.7 deprecation output pip 19 will emit a Python 2.7 deprecation warning when used with Python 2.7. Let's add that as optional output to our pip test. Differential Revision: https://phab.mercurial-scm.org/D5823 diff -r 4dd07bf84608 -r 14983ac4a764 tests/test-install.t --- a/tests/test-install.t Mon Feb 04 17:06:22 2019 -0500 +++ b/tests/test-install.t Mon Feb 04 09:29:25 2019 -0800 @@ -238,6 +238,7 @@ the default for them. $ unset PYTHONPATH $ "$PYTHON" -m virtualenv --no-site-packages --never-download installenv >> pip.log + DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. (?) 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 --no-index $TESTDIR/.. >> pip.log