On a non-English Windows (Spanish here), PowerShell writes stderr in
the console code page. text=True decodes with the locale encoding, the
reader thread raises UnicodeDecodeError, result.stderr is None and all
five subtests fail with a TypeError. Decode as UTF-8 with replacement;
the strings the test looks for are ASCII.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>