mirror of https://github.com/astral-sh/uv
Clear `XDG_DATA_HOME` during test runs (#14075)
This commit is contained in:
parent
d73d3e8b53
commit
cf67d9c633
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue