Skip to content

Commit 1677df1

Browse files
Fix file:// scheme insertion in test assert
1 parent 6690159 commit 1677df1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/test_transaction.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ def test_parse_wheel_url1(protocol, path):
2525
url = protocol + path
2626
wheel = WheelInfo.from_url(url)
2727

28-
check_url = url if protocol else "file:///" + path
2928
assert wheel.name == "snowballstemmer"
3029
assert str(wheel.version) == "2.0.0"
3130
assert wheel.sha256 is None
3231
assert wheel.filename == SNOWBALL_WHEEL
33-
assert wheel.url == check_url
32+
assert wheel.url == url
3433
assert wheel.tags == frozenset(
3534
{Tag("py2", "none", "any"), Tag("py3", "none", "any")}
3635
)

0 commit comments

Comments
 (0)