We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b8b2d0 commit 7b57692Copy full SHA for 7b57692
test-data/unit/pythoneval.test
@@ -1464,9 +1464,12 @@ from enum import Enum
1464
class E(Enum):
1465
A = 'a'
1466
l = [e for e in E]
1467
-reveal_type(l[0]) # E: Revealed type is '_testEnumIteration.E*'
+reveal_type(l[0])
1468
for e in E:
1469
- reveal_type(e) # E: Revealed type is '_testEnumIteration.E*'
+ 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*'
1473
1474
[case testEnumIterable]
1475
from enum import Enum
0 commit comments