mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue #10188 (partial resolution): tidy up some behaviour in the new tempfile.TemporaryDirectory context manager
This commit is contained in:
parent
0e65cf0b6a
commit
6b22f3fa17
4 changed files with 79 additions and 14 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue