summaryrefslogtreecommitdiff
path: root/setuptools/tests
diff options
context:
space:
mode:
authorAndrey Bienkowski <hexagon-recursion@posteo.net>2022-03-05 15:20:42 +0300
committerAndrey Bienkowski <hexagon-recursion@posteo.net>2022-03-06 08:12:22 +0300
commitb828c32cd49f2281156644fce55d3c40663081dd (patch)
tree7f9a7ecd8445bd267c8144a488aa734c051cd609 /setuptools/tests
parent45340d00688ba29fc3492c52c88c47d14ce918e6 (diff)
downloadpython-setuptools-git-b828c32cd49f2281156644fce55d3c40663081dd.tar.gz
Fix editable --user installs with build isolation
https://github.com/pypa/setuptools/issues/3019
Diffstat (limited to 'setuptools/tests')
-rw-r--r--setuptools/tests/test_easy_install.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index 09c4e075..7a8b64a6 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -1146,8 +1146,6 @@ def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmpdir):
# == Assert ==
# Should not install to sys.prefix
- with pytest.raises(AssertionError):
- assert sys_prefix.listdir() == []
+ assert sys_prefix.listdir() == []
# Should install to user site
- with pytest.raises(AssertionError):
- assert {f.basename for f in user_site.listdir()} == {'UNKNOWN.egg-link'}
+ assert {f.basename for f in user_site.listdir()} == {'UNKNOWN.egg-link'}