[Commented On] D10939: run-tests: unroll a non-so-one-liner
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 6 14:15:12 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 28823.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D10939?vs=28745&id=28823
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D10939/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D10939
AFFECTED FILES
tests/run-tests.py
CHANGE DETAILS
diff --git a/tests/run-tests.py b/tests/run-tests.py
--- a/tests/run-tests.py
+++ b/tests/run-tests.py
@@ -3564,10 +3564,9 @@
f.write(b'py -3.%d "$@"\n' % sys.version_info[1])
exedir, exename = os.path.split(sysexecutable)
- vlog(
- "# Modifying search path to find %s as %s in '%s'"
- % (exename, pyexename, exedir)
- )
+ msg = "# Modifying search path to find %s as %s in '%s'"
+ msg %= (exename, pyexename, exedir)
+ vlog(msg)
path = os.environ['PATH'].split(os.pathsep)
while exedir in path:
path.remove(exedir)
To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210706/efa9cf19/attachment-0002.html>
More information about the Mercurial-patches
mailing list