test-install: add new glob for the upgrade notice in newer versions of pip
authorRaphaël Gomès <rgomes@octobus.net>
Mon, 22 Jul 2024 14:19:12 +0200
changeset 51709 57f0b86611c7
parent 51708 3131445a831b
child 51710 8fe7c0e1df1e
test-install: add new glob for the upgrade notice in newer versions of pip We only globbed for the old warning, newer versions of pip use a cleaner one.
tests/test-install.t
--- a/tests/test-install.t	Thu Jul 18 13:36:32 2024 +0200
+++ b/tests/test-install.t	Mon Jul 22 14:19:12 2024 +0200
@@ -216,6 +216,9 @@
     Failed building wheel for mercurial (?)
   WARNING: You are using pip version *; however, version * is available. (glob) (?)
   You should consider upgrading via the '$TESTTMP/installenv/bin/python* -m pip install --upgrade pip' command. (glob) (?)
+   (?)
+  [notice] A new release of pip is available: * -> * (glob) (?)
+  [notice] To update, run: python -m pip install --upgrade pip (?)
   $ ./installenv/*/hg debuginstall || cat pip.log
   checking encoding (ascii)...
   checking Python executable (*) (glob)