summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-05-27 15:12:12 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-01 06:38:26 -0400
commite45d5b667653f4c3ffc89fe7a83eac56d60b9364 (patch)
treedaabc834ad9c7236bc0a1999ca871648001166be
parent2ab37eaf9668b5aacc953c6d01fcab9e4f181bf7 (diff)
downloadhaskell-e45d5b667653f4c3ffc89fe7a83eac56d60b9364.tar.gz
testsuite/testutil: Fix bytes/str mismatch
-rw-r--r--testsuite/driver/testutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py
index 683941c65c..531d973e61 100644
--- a/testsuite/driver/testutil.py
+++ b/testsuite/driver/testutil.py
@@ -55,7 +55,7 @@ def getStdout(cmd_and_args: List[str]):
if r != 0:
raise Exception("Command failed: " + str(cmd_and_args))
if stderr:
- raise Exception("stderr from command: %s\nOutput:\n%s\n" % (cmd_and_args, stderr))
+ raise Exception("stderr from command: %s\nOutput:\n%s\n" % (cmd_and_args, stderr.decode('utf-8')))
return stdout.decode('utf-8')
def lndir(srcdir: Path, dstdir: Path):