Commit 3cdd0a5
committed
Force UTF-8 in CLI subprocess tests for Windows
The info command prints unicode box-drawing characters, which crash the
child process with a UnicodeEncodeError when stdout is a pipe on platforms
defaulting to a non-UTF-8 codec (e.g. Windows). Set PYTHONIOENCODING=utf-8
in the subprocess environment.1 parent b60e819 commit 3cdd0a5
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
779 | 783 | | |
780 | 784 | | |
781 | 785 | | |
782 | 786 | | |
| 787 | + | |
783 | 788 | | |
784 | 789 | | |
785 | 790 | | |
| |||
0 commit comments