File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1503,18 +1503,6 @@ x = 0
15031503mypy: "tmp/typing.py" shadows library module "typing"
15041504note: 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]
15201508import scribe
You can’t perform that action at this time.
0 commit comments