On Sun, 16 Jul 2017 15:12:21 +0900, mlaneuvi...@gmail.com wrote: > # HG changeset patch > # User Matthieu Laneuville <matthieu.laneuvi...@octobus.net> > # Date 1500185462 -32400 > # Sun Jul 16 15:11:02 2017 +0900 > # Node ID 9722bfa929b50e7ad87e0561f8d5fdd8e928d755 > # Parent 97ec8637d261a97c30944d9242ee1ccdbf536cb3 > run-tests: also color the summary messages (skipped, failed...) > > diff -r 97ec8637d261 -r 9722bfa929b5 tests/run-tests.py > --- a/tests/run-tests.py Sun Jul 16 14:03:58 2017 +0900 > +++ b/tests/run-tests.py Sun Jul 16 15:11:02 2017 +0900 > @@ -96,12 +96,46 @@ > try: # is pygments installed > import pygments > import pygments.lexers as lexers > + import pygments.lexer as lexer > import pygments.formatters as formatters > + import pygments.token as token > + import pygments.style as style > with_color = True > with_pygments = True > except ImportError: > pass > > +class TestRunnerStyle(style.Style):
Still an issue. The error was that the style module was missing if pygments couldn't be loaded. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel