File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed
Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -947,21 +947,16 @@ accept_float(a.b.c.value)
947947
948948[file a/__init__.py]
949949value = 3
950- b.value
951- a.b.value
950+ b.value # E: Name "b" is not defined
951+ a.b.value # E: Name "a" is not defined
952952
953953[file a/b/__init__.py]
954954value = "a"
955- c.value
956- a.b.c.value
955+ c.value # E: Name "c" is not defined
956+ a.b.c.value # E: Name "a" is not defined
957957
958958[file a/b/c.py]
959959value = 3.2
960- [out]
961- tmp/a/__init__.py:2: error: Name "b" is not defined
962- tmp/a/__init__.py:3: error: Name "a" is not defined
963- tmp/a/b/__init__.py:2: error: Name "c" is not defined
964- tmp/a/b/__init__.py:3: error: Name "a" is not defined
965960
966961[case testSubmoduleMixingLocalAndQualifiedNames]
967962from a.b import MyClass
@@ -3170,7 +3165,7 @@ from b import no_such_export
31703165[file b.py]
31713166from a import no_such_export # E: Module "a" has no attribute "no_such_export"
31723167
3173- [case testCyclicUndefinedImportWithStar1 ]
3168+ [case testCyclicUndefinedImportWithStar1_no_parallel ]
31743169import a
31753170[file a.py]
31763171from b import no_such_export
@@ -3180,7 +3175,7 @@ from a import *
31803175tmp/b.py:1: error: Cannot resolve name "no_such_export" (possible cyclic definition)
31813176tmp/a.py:1: error: Module "b" has no attribute "no_such_export"
31823177
3183- [case testCyclicUndefinedImportWithStar2 ]
3178+ [case testCyclicUndefinedImportWithStar2_no_parallel ]
31843179import a
31853180[file a.py]
31863181from b import no_such_export
You can’t perform that action at this time.
0 commit comments