Skip to content

Commit b2aa1f7

Browse files
committed
.
1 parent 042c3ae commit b2aa1f7

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test-data/unit/pythoneval.test

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,18 +1503,6 @@ x = 0
15031503
mypy: "tmp/typing.py" shadows library module "typing"
15041504
note: A user-defined top-level module with name "typing" is not supported
15051505

1506-
[case testIgnoreImportIfNoPython3StubAvailable]
1507-
# flags: --ignore-missing-imports
1508-
import scribe # No Python 3 stubs available for scribe
1509-
from scribe import x
1510-
import python2 # Python 3 stubs available for python2
1511-
import foobar_asdf
1512-
import jack # This has a stubs package but was never bundled with mypy, so ignoring works
1513-
[out]
1514-
_testIgnoreImportIfNoPython3StubAvailable.py:4: error: Library stubs not installed for "python2"
1515-
_testIgnoreImportIfNoPython3StubAvailable.py:4: note: Hint: "python3 -m pip install types-six"
1516-
_testIgnoreImportIfNoPython3StubAvailable.py:4: note: (or run "mypy --install-types" to install all missing stub packages)
1517-
_testIgnoreImportIfNoPython3StubAvailable.py:4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
15181506

15191507
[case testNoPython3StubAvailable]
15201508
import scribe

0 commit comments

Comments
 (0)