Skip to content

Commit ec62173

Browse files
committed
Attempt to fix problems on windows
1 parent 9cb8a41 commit ec62173

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setuptools/tests/test_easy_install.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,6 +1185,8 @@ def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmp_path)
11851185
# 2. We are going to force `site` to update site.USER_BASE and site.USER_SITE
11861186
# To point inside our new home
11871187
monkeypatch.setenv('HOME', str(tmp_path / '.home'))
1188+
monkeypatch.setenv('USERPROFILE', str(tmp_path / '.home'))
1189+
monkeypatch.setenv('APPDATA', str(tmp_path / '.home'))
11881190
monkeypatch.setattr('site.USER_BASE', None)
11891191
monkeypatch.setattr('site.USER_SITE', None)
11901192
user_site = Path(site.getusersitepackages())

0 commit comments

Comments
 (0)