Skip to content

Commit 4145d0c

Browse files
committed
Update test
1 parent 749efa1 commit 4145d0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-data/unit/check-modules.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1388,14 +1388,14 @@ import b
13881388
import b
13891389
class C:
13901390
def f1(self) -> None:
1391-
self.x2
1391+
reveal_type(self.x2)
13921392
def f2(self) -> None:
13931393
self.x2 = b.b
13941394
[file b.py]
13951395
import a
13961396
b = 1 + int()
13971397
[out]
1398-
tmp/a.py:4: error: Cannot determine type of "x2"
1398+
tmp/a.py:4: note: Revealed type is "builtins.int"
13991399

14001400
[case testErrorInPassTwo1]
14011401
import b

0 commit comments

Comments
 (0)