Skip to content

Commit

Permalink
Ensure cache is not deleted during test_pip_full_whl_url
Browse files Browse the repository at this point in the history
  • Loading branch information
maresb committed Sep 12, 2024
1 parent 8f14e3d commit c53135d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -2752,7 +2752,12 @@ def test_parse_environment_file_with_pip_and_platform_selector():


def test_pip_full_whl_url(
tmp_path: Path, conda_exe: str, monkeypatch: "pytest.MonkeyPatch"
tmp_path: Path,
conda_exe: str,
monkeypatch: "pytest.MonkeyPatch",
# If the cache is cleared under this test, it can cause an error message:
# E FileNotFoundError: [Errno 2] No such file or directory: '/Users/runner/Library/Caches/pypoetry-conda-lock/artifacts/5a/51/bb/896565e2c84dc024b41e43536c67cef3618b17b0daa532d87a72054dca/requests-2.31.0-py3-none-any.whl'
cleared_poetry_cache: None,
):
"""Ensure that we can specify full wheel URL in the environment file."""

Expand Down

0 comments on commit c53135d

Please sign in to comment.