summaryrefslogtreecommitdiffstats
path: root/Lib/test/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r--Lib/test/support.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 2fd019a..27efd37 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -874,6 +874,9 @@ def captured_output(stream_name):
def captured_stdout():
return captured_output("stdout")
+def captured_stderr():
+ return captured_output("stderr")
+
def captured_stdin():
return captured_output("stdin")