From 917055ae09bdfa3b4e5776b1c098e45af7372af4 Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 21 Oct 2024 08:53:49 -0700 Subject: [PATCH] Work around pytest tmpdir 30 character disambiguation limit for now. --- tests/integration/cli/commands/test_lock_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/cli/commands/test_lock_sync.py b/tests/integration/cli/commands/test_lock_sync.py index 6c6eb4d65..5bc5d8665 100644 --- a/tests/integration/cli/commands/test_lock_sync.py +++ b/tests/integration/cli/commands/test_lock_sync.py @@ -1034,7 +1034,7 @@ def test_sync_venv_run_retain_pip_preinstalled( ): # type: (...) -> None - venv_dir = os.path.join(str(tmpdir), "venv") + venv_dir = os.path.join(str(tmpdir), "venv-pip-preinstalled") venv = Virtualenv.create(venv_dir, install_pip=InstallationChoice.YES) pip = find_distribution("pip", search_path=venv.sys_path) assert pip is not None @@ -1079,7 +1079,7 @@ def test_sync_venv_run_retain_pip_no_pip_preinstalled( ): # type: (...) -> None - venv_dir = os.path.join(str(tmpdir), "venv") + venv_dir = os.path.join(str(tmpdir), "venv-no-pip-preinstalled") lock = os.path.join(str(tmpdir), "lock.json") run_sync( *(