mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
Issue #12085: Fix test_subprocess for my previous commit
Replace support by test_support, and add captured_stderr() function.
This commit is contained in:
parent
776e69b5b3
commit
e9b185f263
2 changed files with 4 additions and 1 deletions
|
|
@ -833,6 +833,9 @@ 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