Skip to content

Commit 0896a5b

Browse files
committed
Correct usage of invalid file URL in test.
1 parent 111eed1 commit 0896a5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/test_bad_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def test_filenotfound_error_message(script: Any) -> None:
88
# Test the error message returned when using a bad 'file:' URL.
99
# make pip to fail and get an error message
1010
# by running "pip install -r file:nonexistent_file"
11-
proc = script.pip("install", "-r", "file:unexistent_file", expect_error=True)
11+
proc = script.pip("install", "-r", "file:///unexistent_file", expect_error=True)
1212
assert proc.returncode == 1
1313
expect = (
1414
"ERROR: 404 Client Error: FileNotFoundError for url: file:///unexistent_file"

0 commit comments

Comments
 (0)