Skip to content

Commit

Permalink
Update test_bad_url.py
Browse files Browse the repository at this point in the history
Adjust the expected error message.
  • Loading branch information
DiddiLeija committed Oct 2, 2021
1 parent 98e4826 commit 79655c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/functional/test_bad_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ def test_filenotfound_error_message(script: Any) -> None:
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"
"ERROR: 404 Client Error: FileNotFoundError for url: file:///unexistent_file"
)
assert proc.stderr.rstrip() == expect

0 comments on commit 79655c6

Please sign in to comment.