depot/third_party/nixpkgs/pkgs/tools/package-management/pdm/check-update.patch
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

12 lines
545 B
Diff

diff --git a/tests/conftest.py b/tests/conftest.py
index d310d36..e15d398 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -252,6 +252,7 @@ def project_no_init(tmp_path, mocker):
old_config_map = Config._config_map.copy()
tmp_path.joinpath("caches").mkdir(parents=True)
p.global_config["cache_dir"] = tmp_path.joinpath("caches").as_posix()
+ p.global_config["check_update"] = False
do_use(p, getattr(sys, "_base_executable", sys.executable))
with temp_environ():
os.environ.pop("VIRTUAL_ENV", None)