Skip to content

Commit d9546f5

Browse files
committed
Fix test following stricter version parsing
1 parent 17e9fa7 commit d9546f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/functional/test_install.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2253,14 +2253,14 @@ def test_yanked_version_missing_from_availble_versions_error_message(
22532253
"""
22542254
result = script.pip(
22552255
"install",
2256-
"simple==",
2256+
"simple==0.1",
22572257
"--index-url",
22582258
data.index_url("yanked"),
22592259
expect_error=True,
22602260
)
22612261
# the yanked version (3.0) is filtered out from the output:
22622262
expected_warning = (
2263-
"Could not find a version that satisfies the requirement simple== "
2263+
"Could not find a version that satisfies the requirement simple==0.1 "
22642264
"(from versions: 1.0, 2.0)"
22652265
)
22662266
assert expected_warning in result.stderr, str(result)

0 commit comments

Comments
 (0)