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 51697 4f4f65c67729
parent 51696 6aa74bcd4255
child 51698 8f0b0df79039
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 15:48:05 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)