Mercurial > hg
view tests/test-check-format.t @ 47576:c3c38eb08465
run-tests: cleanup windows generation of the python / python3 pointeur
They are no need to generate then in RUNTESTDIR and we don't need a python2
executable. (because not test ever use `python2` explicitly).
This is probably still not perfect, but at least it is better.
Differential Revision: https://phab.mercurial-scm.org/D11045
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 09 Jul 2021 16:28:45 +0200 |
parents | 41d43d12c2c4 |
children | ceaf92d6d380 |
line wrap: on
line source
#require black test-repo Black needs the real USERPROFILE in order to run on Windows #if msys $ USERPROFILE="$REALUSERPROFILE" $ export USERPROFILE #endif $ cd $RUNTESTDIR/.. $ black --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`