Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 committed Sep 30, 2023
1 parent 7e01999 commit 74f7f68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ def test_cache(tmp_path: Path) -> None:


def test_cache_dir(monkeypatch):
monkeypatch.setattr(_cache, "PYCONIFY_CACHE", "/some/path")
assert get_cache_directory() == Path("/some/path")
some_path = Path("/some/path").expanduser().resolve()
monkeypatch.setattr(_cache, "PYCONIFY_CACHE", str(some_path))
assert get_cache_directory() == some_path

0 comments on commit 74f7f68

Please sign in to comment.