diff options
| author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-04-04 08:07:11 +0100 |
|---|---|---|
| committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-04-04 08:07:11 +0100 |
| commit | ec62173700ea7121e8f3d0707e3af20a6b60e92b (patch) | |
| tree | 057f60f7b2aee5633eba7d092fc10afca47140d6 /setuptools | |
| parent | 9cb8a419796f29068f0a34086e104a60979eaa52 (diff) | |
| download | python-setuptools-git-ec62173700ea7121e8f3d0707e3af20a6b60e92b.tar.gz | |
Attempt to fix problems on windows
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index dfe8b911..726f9fda 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -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()) |
