File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -535,7 +535,10 @@ if int() is str(): # E: Non-overlapping identity check (left operand type: "int
535535[builtins fixtures/primitives.pyi]
536536
537537[case testErrorCodeMissingModule]
538- from defusedxml import xyz # E: Library stubs not installed for "defusedxml" [import-untyped] \
538+ # Note: it was too difficult for me to figure out how to test [import-untyped] here,
539+ # (ideally, it would!)
540+ # but testNamespacePkgWStubs does test that, anyway.
541+ from defusedxml import xyz # E: Library stubs not installed for "defusedxml" [import-untyped-stubs-available] \
539542 # N: Hint: "python3 -m pip install types-defusedxml" \
540543 # N: (or run "mypy --install-types" to install all missing stub packages)
541544from nonexistent import foobar # E: Cannot find implementation or library stub for module named "nonexistent" [import-not-found]
You can’t perform that action at this time.
0 commit comments