summaryrefslogtreecommitdiff
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_easy_install.py5
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'}