view tests/test-check-format.t @ 47923:c89ddef6474d

tests: normalize the way some debug output it matched Differential Revision: https://phab.mercurial-scm.org/D11361
author Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
date Fri, 27 Aug 2021 09:09:10 -0400
parents 41d43d12c2c4
children
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/**'`