Skip to content

Commit

Permalink
Attempt to fix problems on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Apr 4, 2022
1 parent 9cb8a41 commit ec62173
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setuptools/tests/test_easy_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,6 +1185,8 @@ def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmp_path)
# 2. We are going to force `site` to update site.USER_BASE and site.USER_SITE
# To point inside our new home
monkeypatch.setenv('HOME', str(tmp_path / '.home'))
monkeypatch.setenv('USERPROFILE', str(tmp_path / '.home'))
monkeypatch.setenv('APPDATA', str(tmp_path / '.home'))
monkeypatch.setattr('site.USER_BASE', None)
monkeypatch.setattr('site.USER_SITE', None)
user_site = Path(site.getusersitepackages())
Expand Down

0 comments on commit ec62173

Please sign in to comment.