Patchwork D9888: black: issue version information in the skip message

login
register
mail settings
Submitter phabricator
Date Jan. 27, 2021, 2:55 p.m.
Message ID <differential-rev-PHID-DREV-b5j3yyi5yu6lctejz4jv-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48199/
State Superseded
Headers show

Comments

phabricator - Jan. 27, 2021, 2:55 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This will help people to configure their black

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9888

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -1054,7 +1054,7 @@ 
     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.]+)'