@@ -1939,7 +1939,7 @@ def test_installing_scripts_outside_path_prints_warning(
1939
1939
script : PipTestEnvironment ,
1940
1940
) -> None :
1941
1941
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 )
1943
1943
assert "--no-warn-script-location" in result .stderr
1944
1944
1945
1945
@@ -1949,15 +1949,15 @@ def test_installing_scripts_outside_path_can_suppress_warning(
1949
1949
result = script .pip_install_local (
1950
1950
"--prefix" , script .scratch_path , "--no-warn-script-location" , "script_wheel1"
1951
1951
)
1952
- assert "Successfully installed script-wheel1 " in result .stdout , str (result )
1952
+ assert "Successfully installed script_wheel1 " in result .stdout , str (result )
1953
1953
assert "--no-warn-script-location" not in result .stderr
1954
1954
1955
1955
1956
1956
def test_installing_scripts_on_path_does_not_print_warning (
1957
1957
script : PipTestEnvironment ,
1958
1958
) -> None :
1959
1959
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 )
1961
1961
assert "--no-warn-script-location" not in result .stderr
1962
1962
1963
1963
0 commit comments