Skip to content

Commit 562198b

Browse files
add a todo
1 parent d26ac50 commit 562198b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test-data/unit/check-errorcodes.test

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,12 @@ if int() is str(): # E: Non-overlapping identity check (left operand type: "int
550550
[builtins fixtures/primitives.pyi]
551551

552552
[case testErrorCodeMissingModule]
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.
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+
-- TODO: can this be done? The specific error message is
557+
-- Skipping analyzing "no_py_typed": module is installed, but missing library stubs or py.typed marker [import-untyped]
558+
-- which apparently was never tested for non-namespace packages before...
556559
from defusedxml import xyz # E: Library stubs not installed for "defusedxml" [import-untyped-stubs-available] \
557560
# N: Hint: "python3 -m pip install types-defusedxml" \
558561
# N: (or run "mypy --install-types" to install all missing stub packages)

0 commit comments

Comments
 (0)