Skip to content

Commit 9875a5a

Browse files
committed
Add failing test for from imports
1 parent d7926bb commit 9875a5a

File tree

1 file changed

+7
-0
lines changed
  • crates/ty_python_semantic/resources/mdtest/import

1 file changed

+7
-0
lines changed

crates/ty_python_semantic/resources/mdtest/import/namespace.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ import parent.child.one
2626
import parent.child.two
2727
```
2828

29+
`from.py`
30+
31+
```py
32+
# TODO: This should not be an error
33+
from parent.child import one, two # error: [unresolved-import]
34+
```
35+
2936
## Regular package in namespace package
3037

3138
```toml

0 commit comments

Comments
 (0)