mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Add failing test for bug found
This commit is contained in:
parent
d3ce025e8d
commit
53ce9b66ac
|
@ -901,3 +901,25 @@ def test_new_resolver_build_directory_error_zazo_19(script):
|
||||||
"pkg-a", "pkg-b",
|
"pkg-a", "pkg-b",
|
||||||
)
|
)
|
||||||
assert_installed(script, pkg_a="3.0.0", pkg_b="1.0.0")
|
assert_installed(script, pkg_a="3.0.0", pkg_b="1.0.0")
|
||||||
|
|
||||||
|
|
||||||
|
def test_new_resolver_upgrade_same_version(script):
|
||||||
|
create_basic_wheel_for_package(script, "pkg", "2")
|
||||||
|
create_basic_wheel_for_package(script, "pkg", "1")
|
||||||
|
|
||||||
|
script.pip(
|
||||||
|
"install", "--unstable-feature=resolver",
|
||||||
|
"--no-cache-dir", "--no-index",
|
||||||
|
"--find-links", script.scratch_path,
|
||||||
|
"pkg",
|
||||||
|
)
|
||||||
|
assert_installed(script, pkg="2")
|
||||||
|
|
||||||
|
script.pip(
|
||||||
|
"install", "--unstable-feature=resolver",
|
||||||
|
"--no-cache-dir", "--no-index",
|
||||||
|
"--find-links", script.scratch_path,
|
||||||
|
"--upgrade",
|
||||||
|
"pkg",
|
||||||
|
)
|
||||||
|
assert_installed(script, pkg="2")
|
||||||
|
|
Loading…
Reference in a new issue