diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2018-01-18 11:08:31 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-01-18 11:01:17 +0100 |
commit | 832638188789a94a4b6fe146e87c4c2998a53a12 (patch) | |
tree | 03f6bad17b183ff264fd8f47f9c91905775ccd42 | |
parent | 17914a9903bc5855b0c596c86f7351b463d02a6b (diff) |
tests.testutils: fix stderr capture
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | tests/testutils/capture.py | 2 |
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): |