Skip to content

Commit f50f4b3

Browse files
committed
Properly account for member and nonmember in TypeInfo.enum_members
1 parent ab269b8 commit f50f4b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-enum.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,7 @@ class D(C): # E: Cannot extend enum with existing members: "C" \
19381938
x: int # E: Cannot assign to final name "x"
19391939
[builtins fixtures/bool.pyi]
19401940

1941-
[case testEnumNotFinalWithMethodsAndUninitializedValuesStubMemberAndNonMember]
1941+
[case testEnumNotFinalWithMethodsAndUninitializedValuesStubMember]
19421942
# flags: --python-version 3.11
19431943
# This was added in 3.11
19441944
import lib

0 commit comments

Comments
 (0)