diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2010-12-12 15:24:21 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2010-12-12 15:24:21 (GMT) |
commit | 6b22f3fa172c61c76077265cbf742bbcb67d7af2 (patch) | |
tree | 73cb339eca119bb37a20b93ae26431d923fcbfbd /Lib/test/support.py | |
parent | 0e65cf0b6ab397f3f67c2b516af7b9fba05604bc (diff) | |
download | cpython-6b22f3fa172c61c76077265cbf742bbcb67d7af2.zip cpython-6b22f3fa172c61c76077265cbf742bbcb67d7af2.tar.gz cpython-6b22f3fa172c61c76077265cbf742bbcb67d7af2.tar.bz2 |
Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r-- | Lib/test/support.py | 3 |
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") |