From d9546f5934220239d0517ef685437fb3c0ae9ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 29 Sep 2023 22:52:12 +0200 Subject: [PATCH] Fix test following stricter version parsing --- tests/functional/test_install.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/test_install.py b/tests/functional/test_install.py index bf051294338..bd214b34909 100644 --- a/tests/functional/test_install.py +++ b/tests/functional/test_install.py @@ -2253,14 +2253,14 @@ def test_yanked_version_missing_from_availble_versions_error_message( """ result = script.pip( "install", - "simple==", + "simple==0.1", "--index-url", data.index_url("yanked"), expect_error=True, ) # the yanked version (3.0) is filtered out from the output: expected_warning = ( - "Could not find a version that satisfies the requirement simple== " + "Could not find a version that satisfies the requirement simple==0.1 " "(from versions: 1.0, 2.0)" ) assert expected_warning in result.stderr, str(result)