Skip to content

Commit ddecd74

Browse files
authored
1 parent 9e76d34 commit ddecd74

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

test-data/unit/check-modules.test

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2901,11 +2901,8 @@ from stub import c # E: Module "stub" has no attribute "c"
29012901
from stub import d # E: Module "stub" does not explicitly export attribute "d"
29022902

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

29102907
[case testPackagePath]
29112908
import p

0 commit comments

Comments
 (0)