Set LC_ALL=C in test commands (#8606)

This commit is contained in:
Vivien Maisonneuve
2024-10-27 15:24:41 +01:00
committed by GitHub
parent c648150ff0
commit 1e1b6ce186
+5
View File
@@ -473,6 +473,11 @@ impl TestContext {
command.env(EnvVars::VIRTUAL_ENV, self.venv.as_os_str());
}
if cfg!(unix) {
// Avoid locale issues in tests
command.env("LC_ALL", "C");
}
if cfg!(all(windows, debug_assertions)) {
// TODO(konstin): Reduce stack usage in debug mode enough that the tests pass with the
// default windows stack of 1MB