summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStéphane Bidoul <stephane.bidoul@gmail.com>2023-03-18 12:42:39 +0100
committerStéphane Bidoul <stephane.bidoul@gmail.com>2023-03-29 08:41:09 +0200
commit8f0201f67a7e4e2b60bd7e7aec4d5dbad17a867a (patch)
tree8a0cd10803dc950a92c7e4f49f21e1adb184a5d8 /tests
parent28239f9bf7c4c03dfbf8d12eb5cc3aa6ca3c0b08 (diff)
downloadpip-8f0201f67a7e4e2b60bd7e7aec4d5dbad17a867a.tar.gz
Remove no-binary disabling the cache of locally built wheels
Diffstat (limited to 'tests')
-rw-r--r--tests/functional/test_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py
index 16ef572b5..18446d899 100644
--- a/tests/functional/test_install.py
+++ b/tests/functional/test_install.py
@@ -1656,7 +1656,7 @@ def test_install_no_binary_uses_local_backend(
assert os.path.isfile(marker), "Local PEP 517 backend not used"
-def test_install_no_binary_disables_cached_wheels(
+def test_install_no_binary_uses_cached_wheels(
script: PipTestEnvironment, data: TestData
) -> None:
# Seed the cache
@@ -1673,7 +1673,7 @@ def test_install_no_binary_disables_cached_wheels(
)
assert "Successfully installed upper-2.0" in str(res), str(res)
# upper is built and not obtained from cache
- assert "Building wheel for upper" in str(res), str(res)
+ assert "Building wheel for upper" not in str(res), str(res)
def test_install_editable_with_wrong_egg_name(