diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-03-27 18:09:03 +0200 |
---|---|---|
committer | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-03-31 09:47:09 +0200 |
commit | 849dcbd6a8b777e2b2b7842fdd12d6831384fc29 (patch) | |
tree | 06c8df7de350e7579d86138977e3aff1b9f15863 /tests | |
parent | e5deb4dd8d7989ced863d1995369be7f374cdce4 (diff) | |
download | pip-849dcbd6a8b777e2b2b7842fdd12d6831384fc29.tar.gz |
Remove more traces of setup.py install
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/test_install.py | 2 | ||||
-rw-r--r-- | tests/functional/test_install_reqs.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index 1e455d880..72c72f35c 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -1160,7 +1160,6 @@ def test_install_package_with_prefix( rel_prefix_path = script.scratch / "prefix" install_path = join( sysconfig.get_path("purelib", vars={"base": rel_prefix_path}), - # we still test for egg-info because no-binary implies setup.py install "simple-1.0.dist-info", ) result.did_create(install_path) @@ -1606,7 +1605,6 @@ def test_install_no_binary_builds_pep_517_wheel( assert expected in str(res), str(res) assert "Building wheel for pep517-setup" in str(res), str(res) - assert "Running setup.py install for pep517-set" not in str(res), str(res) @pytest.mark.network diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py index 3ad953481..3ad1909fe 100644 --- a/tests/functional/test_install_reqs.py +++ b/tests/functional/test_install_reqs.py @@ -325,7 +325,6 @@ def test_wheel_user_with_prefix_in_pydistutils_cfg( "install", "--user", "--no-index", "-f", data.find_links, "requiresupper" ) # Check that we are really installing a wheel - assert "Running setup.py install for requiresupper" not in result.stdout assert "installed requiresupper" in result.stdout @@ -647,7 +646,7 @@ def test_install_distribution_union_with_constraints( msg = "Unnamed requirements are not allowed as constraints" assert msg in result.stderr else: - assert "Running setup.py install for LocalExtras" in result.stdout + assert "Building wheel for LocalExtras" in result.stdout result.did_create(script.site_packages / "singlemodule.py") |