Skip to content

Commit

Permalink
Set LC_ALL=C in test commands (#8606)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivienm authored Oct 27, 2024
1 parent c648150 commit 1e1b6ce
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions crates/uv/tests/it/common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e1b6ce

Please sign in to comment.