Skip to content

Commit 2e67986

Browse files
committed
make linters happy
1 parent 58996b5 commit 2e67986

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/test_network_lazy_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from typing import Iterator
22

3-
from pip._internal.exceptions import InvalidWheel
43
from pip._vendor.packaging.version import Version
54
from pytest import fixture, mark, raises
65

6+
from pip._internal.exceptions import InvalidWheel
77
from pip._internal.network.lazy_wheel import (
88
HTTPRangeRequestUnsupported,
99
dist_from_wheel_url,

tests/unit/test_wheel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ def test_wheel_root_is_purelib(text: str, expected: bool) -> None:
252252
assert wheel.wheel_root_is_purelib(message_from_string(text)) == expected
253253

254254

255-
def test_dist_from_broken_wheel_fails(data) -> None:
255+
def test_dist_from_broken_wheel_fails(data: TestData) -> None:
256256
from pip._internal.exceptions import InvalidWheel
257-
from pip._internal.metadata import get_wheel_distribution, FilesystemWheel
257+
from pip._internal.metadata import FilesystemWheel, get_wheel_distribution
258258

259259
package = data.packages.joinpath("corruptwheel-1.0-py2.py3-none-any.whl")
260260
with pytest.raises(InvalidWheel):

0 commit comments

Comments
 (0)