@@ -2707,7 +2707,7 @@ if type(y) == int:
27072707 reveal_type(y) # N: Revealed type is "builtins.int"
27082708
27092709
2710- [case testMultipleTypeEqualsCheck]
2710+ [case testMultipleTypeEqualsCheck-xfail ]
27112711from typing import Any
27122712
27132713x: Any
@@ -2727,7 +2727,7 @@ y: Any
27272727if type(y) is int:
27282728 reveal_type(y) # N: Revealed type is "builtins.int"
27292729
2730- [case testTypeEqualsCheckUsingImplicitTypes]
2730+ [case testTypeEqualsCheckUsingImplicitTypes-xfail ]
27312731from typing import Any
27322732
27332733x: str
@@ -2741,7 +2741,7 @@ if type(x) is type(z):
27412741 reveal_type(x) # N: Revealed type is "builtins.str"
27422742 reveal_type(z) # N: Revealed type is "builtins.str"
27432743
2744- [case testTypeEqualsCheckUsingDifferentSpecializedTypes]
2744+ [case testTypeEqualsCheckUsingDifferentSpecializedTypes-xfail ]
27452745from collections import defaultdict
27462746
27472747x: defaultdict
@@ -2752,7 +2752,7 @@ if type(x) is type(y) is type(z):
27522752 reveal_type(y) # N: Revealed type is "collections.defaultdict[Any, Any]"
27532753 reveal_type(z) # N: Revealed type is "collections.defaultdict[Any, Any]"
27542754
2755- [case testUnionTypeEquality]
2755+ [case testUnionTypeEquality-xfail ]
27562756from typing import Any, reveal_type
27572757# flags: --warn-unreachable
27582758
@@ -2762,7 +2762,7 @@ if type(x) == (int, str):
27622762
27632763[builtins fixtures/tuple.pyi]
27642764
2765- [case testTypeIntersectionWithConcreteTypes]
2765+ [case testTypeIntersectionWithConcreteTypes-xfail ]
27662766class X: x = 1
27672767class Y: y = 1
27682768class Z(X, Y): ...
@@ -2782,7 +2782,7 @@ if isinstance(x, type(y)) and isinstance(y, type(x)):
27822782
27832783[builtins fixtures/isinstance.pyi]
27842784
2785- [case testTypeEqualsCheckUsingIsNonOverlapping]
2785+ [case testTypeEqualsCheckUsingIsNonOverlapping-xfail ]
27862786# flags: --warn-unreachable
27872787from typing import Union
27882788
@@ -2817,7 +2817,7 @@ if type(x) is int:
28172817else:
28182818 reveal_type(x) # N: Revealed type is "builtins.int | builtins.str"
28192819
2820- [case testTypeEqualsMultipleTypesShouldntNarrow]
2820+ [case testTypeEqualsMultipleTypesShouldntNarrow-xfail ]
28212821# flags: --warn-unreachable
28222822# make sure we don't do any narrowing if there are multiple types being compared
28232823# flags: --warn-unreachable
0 commit comments