From 5817ef29a747b397824c4cf95e93229ef4ae53ad 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 57849cdcf3f..bed3574eef8 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)