diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-23 22:37:42 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-23 22:59:37 +0100 |
commit | 32215996528779f71a636350a36c01a8b3ccb1bf (patch) | |
tree | 09cc4fbf2f0cebd99de073aa9edc6c572c1cda96 /testsuite/driver/testutil.py | |
parent | 7cddcde52cf27c55223b1dbb995df623498d0f70 (diff) | |
download | haskell-32215996528779f71a636350a36c01a8b3ccb1bf.tar.gz |
Make testsuite work again with Py3
Python 3 support seems to have mildly bitrotten since #9184 was closed.
Luckily, only some minor tweaks seem necessary.
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r-- | testsuite/driver/testutil.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index 2f037f0a49..029a3b6cb9 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -33,6 +33,6 @@ def getStdout(cmd_and_args): r = p.wait() if r != 0: raise Exception("Command failed: " + str(cmd_and_args)) - if stderr != '': + if stderr: raise Exception("stderr from command: " + str(cmd_and_args)) return stdout |