diff --git a/test/basetest/__init__.py b/test/basetest/__init__.py index 7665f467c..10dfb5fb9 100644 --- a/test/basetest/__init__.py +++ b/test/basetest/__init__.py @@ -110,7 +110,7 @@ class BaseTestCase(unittest.TestCase): command = ["./task"] command.extend(args) - p = Popen(command, stdin=stdin, stdout=PIPE, stderr=STDOUT) + p = Popen(command, stdin=stdin, stdout=PIPE, stderr=stderr) out, err = p.communicate(input) # In python3 we will be able use the following instead of the previous # line to avoid locking if task is unexpectedly waiting for input @@ -120,7 +120,6 @@ class BaseTestCase(unittest.TestCase): # p.kill() # out, err = proc.communicate() - return p.returncode, out, err @classmethod