Skip to content

Commit c283ae5

Browse files
committed
adjust remaining tests (reveal_type)
1 parent 4ebf73e commit c283ae5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

test-data/unit/deps.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def f(x: A) -> None:
432432
x.y
433433
[builtins fixtures/isinstancelist.pyi]
434434
[out]
435-
<m.<subclass of "A" and "B">.y> -> m.f
435+
<m.<subclass of "m.A" and "m.B">.y> -> m.f
436436
<m.A> -> <m.f>, m.A, m.f
437437
<m.B> -> m.B, m.f
438438

test-data/unit/fine-grained.test

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9591,7 +9591,7 @@ reveal_type(Foo().x)
95919591
[builtins fixtures/isinstance.pyi]
95929592
[out]
95939593
==
9594-
b.py:2: note: Revealed type is "a.<subclass of "A" and "B">"
9594+
b.py:2: note: Revealed type is "a.<subclass of "a.A" and "a.B">"
95959595

95969596
[case testIsInstanceAdHocIntersectionFineGrainedIncrementalIsInstanceChange]
95979597
import c
@@ -9625,9 +9625,9 @@ from b import y
96259625
reveal_type(y)
96269626
[builtins fixtures/isinstance.pyi]
96279627
[out]
9628-
c.py:2: note: Revealed type is "a.<subclass of "A" and "B">"
9628+
c.py:2: note: Revealed type is "a.<subclass of "a.A" and "a.B">"
96299629
==
9630-
c.py:2: note: Revealed type is "a.<subclass of "A" and "C">"
9630+
c.py:2: note: Revealed type is "a.<subclass of "a.A" and "a.C">"
96319631

96329632
[case testIsInstanceAdHocIntersectionFineGrainedIncrementalUnderlyingObjChang]
96339633
import c
@@ -9653,9 +9653,9 @@ from b import y
96539653
reveal_type(y)
96549654
[builtins fixtures/isinstance.pyi]
96559655
[out]
9656-
c.py:2: note: Revealed type is "b.<subclass of "A" and "B">"
9656+
c.py:2: note: Revealed type is "b.<subclass of "a.A" and "a.B">"
96579657
==
9658-
c.py:2: note: Revealed type is "b.<subclass of "A" and "C">"
9658+
c.py:2: note: Revealed type is "b.<subclass of "a.A" and "a.C">"
96599659

96609660
[case testIsInstanceAdHocIntersectionFineGrainedIncrementalIntersectionToUnreachable]
96619661
import c
@@ -9686,7 +9686,7 @@ from b import z
96869686
reveal_type(z)
96879687
[builtins fixtures/isinstance.pyi]
96889688
[out]
9689-
c.py:2: note: Revealed type is "a.<subclass of "A" and "B">"
9689+
c.py:2: note: Revealed type is "a.<subclass of "a.A" and "a.B">"
96909690
==
96919691
c.py:2: note: Revealed type is "Any"
96929692
b.py:2: error: Cannot determine type of "y"
@@ -9723,7 +9723,7 @@ reveal_type(z)
97239723
b.py:2: error: Cannot determine type of "y"
97249724
c.py:2: note: Revealed type is "Any"
97259725
==
9726-
c.py:2: note: Revealed type is "a.<subclass of "A" and "B">"
9726+
c.py:2: note: Revealed type is "a.<subclass of "a.A" and "a.B">"
97279727

97289728
[case testStubFixupIssues]
97299729
[file a.py]

0 commit comments

Comments
 (0)