summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2018-01-18 11:08:31 +0200
committerGuido Günther <agx@sigxcpu.org>2018-01-18 11:01:17 +0100
commit832638188789a94a4b6fe146e87c4c2998a53a12 (patch)
tree03f6bad17b183ff264fd8f47f9c91905775ccd42
parent17914a9903bc5855b0c596c86f7351b463d02a6b (diff)
tests.testutils: fix stderr capture
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--tests/testutils/capture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testutils/capture.py b/tests/testutils/capture.py
index 0003a8a6..cc531101 100644
--- a/tests/testutils/capture.py
+++ b/tests/testutils/capture.py
@@ -7,7 +7,7 @@ from io import StringIO
class _StderrCapture(StringIO):
def save(self):
- self.safed = sys.stdout
+ self.safed = sys.stderr
sys.stderr = self
def restore(self):