[Bug 6628] New: test-run-tests fails with pygments 2.11.1

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sun Jan 2 05:49:57 UTC 2022


https://bz.mercurial-scm.org/show_bug.cgi?id=6628

            Bug ID: 6628
           Summary: test-run-tests fails with pygments 2.11.1
           Product: Mercurial
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: cedric.krier at b2ck.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

The output is different with this version of the library
(https://bugs.gentoo.org/830430):

---
/var/tmp/portage/dev-vcs/mercurial-6.0/work/mercurial-6.0/tests/test-run-tests.t
+++
/var/tmp/portage/dev-vcs/mercurial-6.0/work/mercurial-6.0/tests/test-run-tests.t.err
@@ -176,14 +176,14 @@
   running 1 tests using 1 parallel processes 

   \x1b[38;5;124m--- $TESTTMP/test-failure.t\x1b[39m (esc)
-  \x1b[38;5;34m+++ $TESTTMP/test-failure.t.err\x1b[39m (esc)
+  \x1b[38;5;28m+++ $TESTTMP/test-failure.t.err\x1b[39m (esc)
   \x1b[38;5;90;01m@@ -1,4 +1,4 @@\x1b[39;00m (esc)
-     $ echo "bar-baz"; echo "bar-bad"; echo foo
-  \x1b[38;5;34m+  bar*baz (glob)\x1b[39m (esc)
-     bar*bad (glob)
+  \x1b[38;5;250m \x1b[39m  $ echo "bar-baz"; echo "bar-bad"; echo foo (esc)
+  \x1b[38;5;28m+  bar*baz (glob)\x1b[39m (esc)
+  \x1b[38;5;250m \x1b[39m  bar*bad (glob) (esc)
   \x1b[38;5;124m-  bar*baz (glob)\x1b[39m (esc)
   \x1b[38;5;124m-  | fo (re)\x1b[39m (esc)
-  \x1b[38;5;34m+  foo\x1b[39m (esc)
+  \x1b[38;5;28m+  foo\x1b[39m (esc)

   \x1b[38;5;88mERROR: \x1b[39m\x1b[38;5;9mtest-failure.t\x1b[39m\x1b[38;5;88m
output changed\x1b[39m (esc)
   !

ERROR: test-run-tests.t output changed

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list