tests/run-tests.py
changeset 33931 7cab956794e4
parent 33930 f5d4bb8e944d
child 33934 6cc8f848b4c3
--- a/tests/run-tests.py	Thu Aug 24 22:15:40 2017 +0900
+++ b/tests/run-tests.py	Thu Aug 24 22:20:02 2017 +0900
@@ -615,7 +615,8 @@
     if not color:
         return line
     assert pygmentspresent
-    return pygments.highlight(line, difflexer, terminal256formatter)
+    return pygments.highlight(line.decode('latin1'), difflexer,
+                              terminal256formatter).encode('latin1')
 
 def highlightmsg(msg, color):
     if not color: