tests: add optional output for Python 2.7 deprecation
authorGregory Szorc <gregory.szorc@gmail.com>
Thu, 04 Apr 2019 18:20:36 -0700
changeset 42066 65ed223619ec
parent 42065 fecbd93a5f08
child 42067 b01bbb8ff1f2
tests: add optional output for Python 2.7 deprecation We already had one of these a few lines above. We need it here as well. Differential Revision: https://phab.mercurial-scm.org/D6203
tests/test-install.t
--- a/tests/test-install.t	Thu Apr 04 18:01:48 2019 -0700
+++ b/tests/test-install.t	Thu Apr 04 18:20:36 2019 -0700
@@ -242,6 +242,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
+  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. (?)
   $ ./installenv/*/hg debuginstall || cat pip.log
   checking encoding (ascii)...
   checking Python executable (*) (glob)