Skip to content

Commit d0bee58

Browse files
committed
[WIP] attempt to fix last failing test
1 parent 161df53 commit d0bee58

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

tests/functional/test_install.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -474,12 +474,8 @@ def test_install_editable_uninstalls_existing_from_path(
474474
result.assert_installed("simplewheel", editable=False)
475475
result.did_create(simple_folder)
476476

477-
result = script.pip(
478-
"install",
479-
"-e",
480-
to_install,
481-
)
482-
result.assert_installed("simplewheel", editable=True)
477+
result = script.pip_install_local("-e", to_install, "-v")
478+
script.assert_installed_editable("simplewheel")
483479
assert "Found existing installation: simplewheel 1.0" in result.stdout
484480
assert "Uninstalling simplewheel-" in result.stdout
485481
assert "Successfully uninstalled simplewheel" in result.stdout
@@ -675,8 +671,7 @@ def test_link_hash_pass_require_hashes(
675671
considered valid for --require-hashes."""
676672
url = path_to_url(str(shared_data.packages.joinpath("simple-1.0.tar.gz")))
677673
url = (
678-
f"{url}#sha256="
679-
"393043e672415891885c9a2a0929b1af95fb866d6ca016b42d2e6ce53619b653"
674+
f"{url}#sha256=393043e672415891885c9a2a0929b1af95fb866d6ca016b42d2e6ce53619b653"
680675
)
681676
script.pip_install_local("--no-deps", "--require-hashes", url)
682677

0 commit comments

Comments
 (0)