Skip to content

Commit 6ed6aa8

Browse files
committed
Fix test failures caused by name normalization
1 parent e50c07e commit 6ed6aa8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/functional/test_install.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ def test_installing_scripts_outside_path_prints_warning(
19391939
script: PipTestEnvironment,
19401940
) -> None:
19411941
result = script.pip_install_local("--prefix", script.scratch_path, "script_wheel1")
1942-
assert "Successfully installed script-wheel1" in result.stdout, str(result)
1942+
assert "Successfully installed script_wheel1" in result.stdout, str(result)
19431943
assert "--no-warn-script-location" in result.stderr
19441944

19451945

@@ -1949,15 +1949,15 @@ def test_installing_scripts_outside_path_can_suppress_warning(
19491949
result = script.pip_install_local(
19501950
"--prefix", script.scratch_path, "--no-warn-script-location", "script_wheel1"
19511951
)
1952-
assert "Successfully installed script-wheel1" in result.stdout, str(result)
1952+
assert "Successfully installed script_wheel1" in result.stdout, str(result)
19531953
assert "--no-warn-script-location" not in result.stderr
19541954

19551955

19561956
def test_installing_scripts_on_path_does_not_print_warning(
19571957
script: PipTestEnvironment,
19581958
) -> None:
19591959
result = script.pip_install_local("script_wheel1")
1960-
assert "Successfully installed script-wheel1" in result.stdout, str(result)
1960+
assert "Successfully installed script_wheel1" in result.stdout, str(result)
19611961
assert "--no-warn-script-location" not in result.stderr
19621962

19631963

0 commit comments

Comments
 (0)