File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -550,7 +550,10 @@ if int() is str(): # E: Non-overlapping identity check (left operand type: "int
550550[builtins fixtures/primitives.pyi]
551551
552552[case testErrorCodeMissingModule]
553- from defusedxml import xyz # E: Library stubs not installed for "defusedxml" [import-untyped] \
553+ # Note: it was too difficult for me to figure out how to test [import-untyped] here,
554+ # (ideally, it would!)
555+ # but testNamespacePkgWStubs does test that, anyway.
556+ from defusedxml import xyz # E: Library stubs not installed for "defusedxml" [import-untyped-stubs-available] \
554557 # N: Hint: "python3 -m pip install types-defusedxml" \
555558 # N: (or run "mypy --install-types" to install all missing stub packages)
556559from 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