Skip to content

Commit 7e80954

Browse files
committed
Fix homebrew test to match example homebrew directory
1 parent 149b7e4 commit 7e80954

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/unit/test_appdirs.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ def test_site_config_dirs_osx(self, monkeypatch: pytest.MonkeyPatch) -> None:
113113
def test_site_config_dirs_osx_homebrew(
114114
self, monkeypatch: pytest.MonkeyPatch
115115
) -> None:
116-
monkeypatch.setattr(sys, "prefix", "/opt/homebrew/")
116+
monkeypatch.setattr(
117+
sys,
118+
"prefix",
119+
"/opt/homebrew/opt/python@3.13/Frameworks/Python.framework/Versions/3.13",
120+
)
117121

118122
assert appdirs.site_config_dirs("pip") == [
119123
"/opt/homebrew/share/pip",

0 commit comments

Comments
 (0)