Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions test-data/unit/check-modules.test
Original file line number Diff line number Diff line change
Expand Up @@ -2901,11 +2901,8 @@ from stub import c # E: Module "stub" has no attribute "c"
from stub import d # E: Module "stub" does not explicitly export attribute "d"

[file stub.pyi]
from mystery import a, b as b, c as d

[out]
tmp/stub.pyi:1: error: Cannot find implementation or library stub for module named "mystery"
tmp/stub.pyi:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
from mystery import a, b as b, c as d # E: Cannot find implementation or library stub for module named "mystery" \
# N: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

[case testPackagePath]
import p
Expand Down
Loading