| Index: subprocess2.py
|
| diff --git a/subprocess2.py b/subprocess2.py
|
| index 8964aad7d495b9bcc2e10e1ffc12f6bb6b61b5d7..e65186e769cd5998bc509491ba9fa70fc5053717 100644
|
| --- a/subprocess2.py
|
| +++ b/subprocess2.py
|
| @@ -310,4 +310,6 @@ def check_output(args, **kwargs):
|
| - As per doc, "The stdout argument is not allowed as it is used internally."
|
| """
|
| kwargs.setdefault('stdin', VOID)
|
| + if 'stdout' in kwargs:
|
| + raise ValueError('stdout argument not allowed, it will be overridden.')
|
| return check_call_out(args, stdout=PIPE, **kwargs)[0]
|
|
|