Skip to content

Commit 2541f06

Browse files
committed
add from import test case
1 parent 1be3750 commit 2541f06

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

test-data/unit/semanal-errors.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,13 @@ main:1: error: Cannot find implementation or library stub for module named "nump
303303
main:1: note: Did you mean "numpy"?
304304
main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
305305

306+
[case testMissingModuleFuzzyMatchFromImport]
307+
from numpyy import array
308+
[out]
309+
main:1: error: Cannot find implementation or library stub for module named "numpyy"
310+
main:1: note: Did you mean "numpy"?
311+
main:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
312+
306313
[case testMissingModuleFuzzyMatchStdlib]
307314
import ittertools
308315
[out]

0 commit comments

Comments
 (0)