tests/test-check-format.t
author Matt Harbison <matt_harbison@yahoo.com>
Tue, 06 Dec 2022 13:03:36 -0500
branchstable
changeset 49834 6a3549a01c02
parent 46870 41d43d12c2c4
child 51919 ceaf92d6d380
permissions -rw-r--r--
tests: conditionalize test output for in-filesystem pyoxidizer resources The in-memory pyoxidizer builds apparently behave as expected.

#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/**'`