view tests/test-check-format.t @ 44121:51fb449bd1a2

py3: add extra traceback line present on Python 3.8 I'm not sure why Python 3.8 is outputting this line. It appears to be a change in behavior of formatting tracebacks on Python 3.8. So let's add it to expected output. With this change, test-hook.t now passes on Python 3.8. Differential Revision: https://phab.mercurial-scm.org/D7946
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 18 Jan 2020 10:27:03 -0800
parents 2d8d4e08c493
children 5e84a96d865b
line wrap: on
line source

#require black

  $ cd $RUNTESTDIR/..
  $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`