diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 63f89713e..77e267846 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -170,6 +170,7 @@ class QuteProc(testprocess.Process): def _parse_line(self, line): # http://stackoverflow.com/a/14693789/2085149 + colored_line = line ansi_escape = re.compile(r'\x1b[^m]*m') line = ansi_escape.sub('', line) @@ -186,7 +187,7 @@ class QuteProc(testprocess.Process): else: raise - self._log(line) + self._log(colored_line) start_okay_message_load = ( "load status for