Clear `XDG_DATA_HOME` during test runs (#14075)

This commit is contained in:
Zanie Blue 2025-06-16 15:01:17 -05:00 committed by GitHub
parent d73d3e8b53
commit cf67d9c633
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -747,6 +747,7 @@ impl TestContext {
.env_remove(EnvVars::UV_CACHE_DIR)
.env_remove(EnvVars::UV_TOOL_BIN_DIR)
.env_remove(EnvVars::XDG_CONFIG_HOME)
.env_remove(EnvVars::XDG_DATA_HOME)
.current_dir(self.temp_dir.path());
for (key, value) in &self.extra_env {