Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored Oct 8, 2024
2 parents 03cc4ca + dfbe41e commit 374e728
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions news/12964.trivial.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
A valid, but non-existent URL used in a test case was corrected to be a valid URL.
4 changes: 2 additions & 2 deletions tests/functional/test_bad_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
def test_filenotfound_error_message(script: Any) -> None:
# Test the error message returned when using a bad 'file:' URL.
# make pip to fail and get an error message
# by running "pip install -r file:nonexistent_file"
proc = script.pip("install", "-r", "file:unexistent_file", expect_error=True)
# by running "pip install -r file:///nonexistent_file"
proc = script.pip("install", "-r", "file:///unexistent_file", expect_error=True)
assert proc.returncode == 1
expect = (
"ERROR: 404 Client Error: FileNotFoundError for url: file:///unexistent_file"
Expand Down

0 comments on commit 374e728

Please sign in to comment.