aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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):