Set LC_ALL=C in test commands (#8606)
This commit is contained in:
committed by
GitHub
parent
c648150ff0
commit
1e1b6ce186
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user