From: Juergen Spitzmueller Date: Thu, 29 Dec 2022 14:10:05 +0000 (+0100) Subject: Fix output of tex2lyx messages in runtests.py X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=38c118b02db38b9864f5b5d01aad2bd0cc931437;p=features.git Fix output of tex2lyx messages in runtests.py --- diff --git a/src/tex2lyx/test/runtests.py b/src/tex2lyx/test/runtests.py index 103c74e307..aae80c1426 100755 --- a/src/tex2lyx/test/runtests.py +++ b/src/tex2lyx/test/runtests.py @@ -108,8 +108,8 @@ def main(argv): proc.wait() err = proc.returncode errorstring = proc.stderr.read() - if not errorstring is None: - print(errorstring) + if errorstring: + print(errorstring.decode(sys.getfilesystemencoding())) if err != 0: errors.append(f) elif not overwrite: