diff options
author | Stéphane Bidoul <stephane.bidoul@gmail.com> | 2023-03-18 15:13:15 +0100 |
---|---|---|
committer | Pradyun Gedam <pradyunsg@gmail.com> | 2023-03-27 11:55:20 +0100 |
commit | 053b890e84b2dbdd72f520a7926532e8a5569856 (patch) | |
tree | eaef1dc100e4cb1d03d45a5a26d213d2bd2c7b8b /tests | |
parent | a4c91124ce4b1215215c7164b09afb6d31e137c9 (diff) | |
download | pip-053b890e84b2dbdd72f520a7926532e8a5569856.tar.gz |
Update a few tests for removal of setup.py install
We now look for "Building wheel" instead of "running setup.py install"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/test_install_reqs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/test_install_reqs.py b/tests/functional/test_install_reqs.py index 5490b301c..a52274fec 100644 --- a/tests/functional/test_install_reqs.py +++ b/tests/functional/test_install_reqs.py @@ -466,7 +466,7 @@ def test_constraints_constrain_to_local( "singlemodule", allow_stderr_warning=True, ) - assert "Running setup.py install for singlemodule" in result.stdout + assert "Building wheel for singlemodule" in result.stdout def test_constrained_to_url_install_same_url( @@ -485,7 +485,7 @@ def test_constrained_to_url_install_same_url( to_install, allow_stderr_warning=True, ) - assert "Running setup.py install for singlemodule" in result.stdout, str(result) + assert "Building wheel for singlemodule" in result.stdout, str(result) @pytest.mark.usefixtures("with_wheel") @@ -617,7 +617,7 @@ def test_install_distribution_full_union( result = script.pip_install_local( to_install, f"{to_install}[bar]", f"{to_install}[baz]" ) - assert "Running setup.py install for LocalExtras" in result.stdout + assert "Building wheel for LocalExtras" in result.stdout result.did_create(script.site_packages / "simple") result.did_create(script.site_packages / "singlemodule.py") |