Skip to content

Commit 7b57692

Browse files
committed
Fix test
1 parent 7b8b2d0 commit 7b57692

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test-data/unit/pythoneval.test

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,9 +1464,12 @@ from enum import Enum
14641464
class E(Enum):
14651465
A = 'a'
14661466
l = [e for e in E]
1467-
reveal_type(l[0]) # E: Revealed type is '_testEnumIteration.E*'
1467+
reveal_type(l[0])
14681468
for e in E:
1469-
reveal_type(e) # E: Revealed type is '_testEnumIteration.E*'
1469+
reveal_type(e)
1470+
[out]
1471+
_testEnumIteration.py:5: error: Revealed type is '_testEnumIteration.E*'
1472+
_testEnumIteration.py:7: error: Revealed type is '_testEnumIteration.E*'
14701473

14711474
[case testEnumIterable]
14721475
from enum import Enum

0 commit comments

Comments
 (0)