We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b57894 + f8e2bef commit 6f9a334Copy full SHA for 6f9a334
1 file changed
tests/test_wheels.py
@@ -3,7 +3,7 @@
3
from unittest.mock import Mock, patch
4
5
import pytest
6
-import wheel.cli # type: ignore
+import wheel.wheelfile # type: ignore
7
from packaging.requirements import Requirement
8
from packaging.version import Version
9
@@ -21,7 +21,7 @@ def test_invalid_wheel_file_exception(
21
text_file = fake_dir / "fake_wheel.txt"
22
text_file.write_text("This is a test file")
23
req = Requirement("test_pkg")
24
- with pytest.raises(wheel.cli.WheelError):
+ with pytest.raises(wheel.wheelfile.WheelError):
25
wheels._download_wheel_check(req, fake_dir, fake_url)
26
27
0 commit comments