Commit 192caf58 authored by Vladislav Zavialov's avatar Vladislav Zavialov Committed by Marge Bot

Fix testsuite driver output (#17847)

parent 5a1ce45d
......@@ -2221,7 +2221,7 @@ def normalise_asm( s: str ) -> str:
return '\n'.join(out)
def safe_print(s: str) -> None:
s2 = s.encode(sys.stdout.encoding, errors='replace')
s2 = s.encode(sys.stdout.encoding, errors='replace').decode(sys.stdout.encoding)
print(s2)
def if_verbose( n: int, s: str ) -> None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment