bpo-34886: Fix subprocess.run handling of exclusive arguments (GH-11727)


Fix an unintended ValueError from :func:`subprocess.run` when checking for
conflicting `input` and `stdin` or `capture_output` and `stdout` or `stderr` args
when they were explicitly provided but with `None` values within a passed in
`**kwargs` dict rather than as passed directly by name.
(cherry picked from commit 8cc605acdda5aff250ab4c9b524a7560f90ca9f3)

Co-authored-by: RĂ©mi Lapeyre <remi.lapeyre@henki.fr>
2 files changed