Submitter | phabricator |
---|---|
Date | July 2, 2021, 10:37 p.m. |
Message ID | <differential-rev-PHID-DREV-sjmufmjpxnewllz3hzpv-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/49253/ |
State | Superseded |
Headers | show |
Comments
Patch
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)