Skip to content

Commit 80ec609

Browse files
committed
Don't use legacy version numbers in tests
1 parent d060f86 commit 80ec609

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/data/packages/README.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ broken-0.1.tar.gz
66
-----------------
77
This package exists for testing uninstall-rollback.
88

9-
broken-0.2broken.tar.gz
10-
-----------------------
11-
Version 0.2broken has a setup.py crafted to fail on install (and only on
9+
broken-0.2+broken.tar.gz
10+
------------------------
11+
Version 0.2+broken has a setup.py crafted to fail on install (and only on
1212
install). If any earlier step would fail (i.e. egg-info-generation), the
1313
already-installed version would never be uninstalled, so uninstall-rollback
1414
would not come into play.

tests/functional/test_install_upgrade.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def test_uninstall_rollback(script: PipTestEnvironment, data: TestData) -> None:
295295
"-f",
296296
data.find_links,
297297
"--no-index",
298-
"broken===0.2broken",
298+
"broken===0.2+broken",
299299
expect_error=True,
300300
)
301301
assert result2.returncode == 1, str(result2)

0 commit comments

Comments
 (0)