Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau authored Oct 21, 2024
1 parent ac172d9 commit 0de6d2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion micropip/wheelinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ def from_url(cls, url: str) -> "WheelInfo":
if parsed_url.scheme == "":
url = "file:///" + url
file_name = Path(parsed_url.path).name
assert file_name, (url, file_name, parsed_url)
name, version, build, tags = parse_wheel_filename(file_name)
return WheelInfo(
name=name,
Expand Down
2 changes: 1 addition & 1 deletion tests/test_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)
@pytest.mark.parametrize(
"protocol",
["https:", "file:", "emfs:", ""],
["http:", "https:", "file:", "emfs:", ""],
)
def test_parse_wheel_url1(protocol, path):
pytest.importorskip("packaging")
Expand Down

0 comments on commit 0de6d2b

Please sign in to comment.