Skip to content

Commit b333645

Browse files
committed
Remove outdated test comments
1 parent 7fd34ce commit b333645

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test-data/unit/check-enum.test

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,6 @@ reveal_type(B.a) # N: Revealed type is "Literal[__main__.B.a]?"
618618
reveal_type(A.x.name) # N: Revealed type is "Literal['x']?"
619619
reveal_type(B.a.name) # N: Revealed type is "Literal['a']?"
620620

621-
# TODO: The revealed type should be 'int' here
622621
reveal_type(A.x.value) # N: Revealed type is "builtins.int"
623622
reveal_type(B.a.value) # N: Revealed type is "builtins.int"
624623
[builtins fixtures/enum.pyi]
@@ -768,9 +767,6 @@ is_x(reveal_type(B3.x._name_)) # N: Revealed type is "Literal['x']"
768767
reveal_type(B3.x.value) # N: Revealed type is "Literal[1]?"
769768
reveal_type(B3.x._value_) # N: Revealed type is "Literal[1]?"
770769

771-
# TODO: C1.x.value and C2.x.value should also be of type 'int'
772-
# This requires either a typeshed change or a plugin refinement
773-
774770
C1 = IntFlag('C1', 'x')
775771
class C2(IntFlag):
776772
x = auto()

0 commit comments

Comments
 (0)