Skip to content

Commit 0a94cc8

Browse files
authored
Enum class must be assigned to a variable with the same name (#14)
fix an issue identified by pyright 1,1,348
1 parent 1d0d758 commit 0a94cc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msrc-appconfig/tests/schema_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class CheckDefaults(ty.NamedTuple):
1717
f8: Nested = Nested((True, False), (En.Option2, En.Option1))
1818

1919

20-
DummyEnum = Enum("TestEnum", "A B C")
20+
DummyEnum = Enum("DummyEnum", "A B C")
2121

2222

2323
def test_tuple_ctor():

0 commit comments

Comments
 (0)