# HG changeset patch # User Pierre-Yves David # Date 2021-01-27 13:58:24 # Node ID 959d581bb62560434452bb694e6b063d0fc29e9f # Parent 6b0dac9f650afb548bb2d2a17d3fb0c49f231e6a black: show required version in skip message This will help people to configure their black Differential Revision: https://phab.mercurial-scm.org/D9888 diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -1054,7 +1054,7 @@ def has_emacs(): return matchoutput('emacs --version', b'GNU Emacs 2(4.4|4.5|5|6|7|8|9)') -@check('black', 'the black formatter for python') +@check('black', 'the black formatter for python (>= 20.8b1)') def has_black(): blackcmd = 'black --version' version_regex = b'black, version ([0-9a-b.]+)'