Skip to content

Commit e52b497

Browse files
committed
Sync corresponding incremental test
1 parent a49b8a4 commit e52b497

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test-data/unit/check-incremental.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5675,10 +5675,12 @@ class FinalEnum(Enum):
56755675
[builtins fixtures/isinstance.pyi]
56765676
[out]
56775677
main:3: error: Cannot override writable attribute "x" with a final one
5678+
main:3: error: Incompatible types in assignment (expression has type "Ok", base class "RegularEnum" defined the type as "int")
56785679
main:4: error: Cannot extend enum with existing members: "FinalEnum"
56795680
main:5: error: Cannot override final attribute "x" (previously declared in base class "FinalEnum")
56805681
[out2]
56815682
main:3: error: Cannot override writable attribute "x" with a final one
5683+
main:3: error: Incompatible types in assignment (expression has type "Ok", base class "RegularEnum" defined the type as "int")
56825684
main:4: error: Cannot extend enum with existing members: "FinalEnum"
56835685
main:5: error: Cannot override final attribute "x" (previously declared in base class "FinalEnum")
56845686

0 commit comments

Comments
 (0)