diff --git a/tests/test-check-code.t b/tests/test-check-code.t --- a/tests/test-check-code.t +++ b/tests/test-check-code.t @@ -63,3 +63,7 @@ > mercurial/parsers.py \ > mercurial/zstd.py [1] + +Keep python3 tests sorted: + $ sort < contrib/python3-whitelist > $TESTTMP/py3sorted + $ cmp contrib/python3-whitelist $TESTTMP/py3sorted || echo 'Please sort passing tests!'