Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager

This commit is contained in:
Nick Coghlan 2010-12-12 15:24:21 +00:00
parent 0e65cf0b6a
commit 6b22f3fa17
4 changed files with 79 additions and 14 deletions

View file

@ -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")