Skip to content

Commit cb20eaf

Browse files
committed
add more focused test
1 parent d69eedb commit cb20eaf

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test-data/unit/check-modules.test

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2091,6 +2091,14 @@ reveal_type(A().g) # E: Revealed type is 'def (x: builtins.list[builtins.int])'
20912091
from typing import List
20922092
[builtins fixtures/list.pyi]
20932093

2094+
[case testStarImportWithinCycle]
2095+
import a
2096+
[file a.py]
2097+
from b import f
2098+
[file b.py]
2099+
from a import *
2100+
def f() -> None: pass
2101+
20942102
[case testIndirectStarImportWithinCycle1]
20952103
import a
20962104
[file a.py]

0 commit comments

Comments
 (0)