Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(fix): use os.device_encoding(0) to figure out stdin encoding in …
…run_command() (Fix #1777) (#1780) * Use os.device_encoding(0) to figure out stdin encoding in run_command(). * Use the encoding of stdout (fd 1) to decode the output of subprocess.Popen. Co-authored-by: Ned Batchelder <[email protected]> * refactor to remove a helper used in only one place --------- Co-authored-by: Ned Batchelder <[email protected]>
- Loading branch information