diff options
| author | Andrey Bienkowski <hexagon-recursion@posteo.net> | 2022-03-06 09:10:48 +0300 |
|---|---|---|
| committer | Andrey Bienkowski <hexagon-recursion@posteo.net> | 2022-03-06 09:10:48 +0300 |
| commit | a28da5fad3dd78e9234e16f07601c8979f9e116b (patch) | |
| tree | dd686374ea10dcdd9f55bf19f26b3dabf9be92e8 /setuptools | |
| parent | eab077a2028e9d4b4f98b21a490d29d8bb9cfc4b (diff) | |
| download | python-setuptools-git-a28da5fad3dd78e9234e16f07601c8979f9e116b.tar.gz | |
Fix test_editable_user_and_build_isolation
This test broke on my machine for some reason
Diffstat (limited to 'setuptools')
| -rw-r--r-- | setuptools/tests/test_easy_install.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py index 7a8b64a6..fd4a83ee 100644 --- a/setuptools/tests/test_easy_install.py +++ b/setuptools/tests/test_easy_install.py @@ -1148,4 +1148,7 @@ def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmpdir): # Should not install to sys.prefix assert sys_prefix.listdir() == [] # Should install to user site - assert {f.basename for f in user_site.listdir()} == {'UNKNOWN.egg-link'} + installed = {f.basename for f in user_site.listdir()} + # sometimes easy-install.pth is created and sometimes not + installed = installed - {"easy-install.pth"} + assert installed == {'UNKNOWN.egg-link'} |
