Kwan created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY bb509f39d387 <https://phab.mercurial-scm.org/rHGbb509f39d387ae18214115e341a13417c197dd75> made an error, it's actually 3.7 that introduced token.COMMENT. REPOSITORY rHG Mercurial BRANCH stable REVISION DETAIL https://phab.mercurial-scm.org/D7220 AFFECTED FILES contrib/byteify-strings.py tests/test-byteify-strings.t CHANGE DETAILS diff --git a/tests/test-byteify-strings.t b/tests/test-byteify-strings.t --- a/tests/test-byteify-strings.t +++ b/tests/test-byteify-strings.t @@ -1,4 +1,4 @@ -#require py36 +#require py37 $ byteify_strings () { > $PYTHON "$TESTDIR/../contrib/byteify-strings.py" "$@" diff --git a/contrib/byteify-strings.py b/contrib/byteify-strings.py --- a/contrib/byteify-strings.py +++ b/contrib/byteify-strings.py @@ -339,7 +339,7 @@ if __name__ == '__main__': - if sys.version_info[0:2] < (3, 6): - print('This script must be run under Python 3.6+') + if sys.version_info[0:2] < (3, 7): + print('This script must be run under Python 3.7+') sys.exit(3) main() To: Kwan, #hg-reviewers Cc: mjpieters, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel