Mercurial > hg
changeset 52224:02da7e767065 stable
windows: adjust PYTHONPATH update in test-status-color.t
On Windows the PATH separator is ";", not ":". The Windows wheel wants it set
with ";".
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 11 Nov 2024 16:42:20 +0100 |
parents | 7c1d7edff91b |
children | a76dcb82148e |
files | tests/test-status-color.t |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-status-color.t Mon Nov 11 16:41:16 2024 +0100 +++ b/tests/test-status-color.t Mon Nov 11 16:42:20 2024 +0100 @@ -399,9 +399,16 @@ color coding of error message without curses $ echo 'raise ImportError' > curses.py +#if windows + $ PYTHONPATH="`pwd`;$PYTHONPATH" hg unknowncommand > /dev/null + hg: unknown command 'unknowncommand' + (use 'hg help' for a list of commands) + [10] +#else $ PYTHONPATH=`pwd`:$PYTHONPATH hg unknowncommand > /dev/null hg: unknown command 'unknowncommand' (use 'hg help' for a list of commands) [10] +#endif $ cd ..