diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index 35af25912..85b75aa9d 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -97,7 +97,7 @@ class Process(QObject): """Read the log from the process' stdout.""" while self.proc.canReadLine(): line = self.proc.readLine() - line = bytes(line).decode('utf-8').rstrip('\r\n') + line = bytes(line).decode('utf-8', errors='ignore').rstrip('\r\n') try: parsed = self._parse_line(line)