Skip to content

Commit 1678762

Browse files
committed
Revert "Disable PEP 585 test"
This reverts commit 285c709.
1 parent 909ef57 commit 1678762

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

tests/test_magicbot_tunable.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,9 @@ class Component:
7171
class_var_typing_list: ClassVar[tunable[List[int]]] = tunable([])
7272
inst_typing_list: List[int] = tunable([])
7373

74-
# TODO(davo): re-enable after py3.8 is dropped
75-
# generic_list = tunable[list[int]]([])
76-
# class_var_list: ClassVar[tunable[list[int]]] = tunable([])
77-
# inst_list: list[int] = tunable([])
74+
generic_list = tunable[list[int]]([])
75+
class_var_list: ClassVar[tunable[list[int]]] = tunable([])
76+
inst_list: list[int] = tunable([])
7877

7978
component = Component()
8079
setup_tunables(component, "test_type_hinted_sequences")
@@ -88,9 +87,9 @@ class Component:
8887
"generic_typing_list",
8988
"class_var_typing_list",
9089
"inst_typing_list",
91-
# "generic_list",
92-
# "class_var_list",
93-
# "inst_list",
90+
"generic_list",
91+
"class_var_list",
92+
"inst_list",
9493
]:
9594
assert nt.getTopic(name).getTypeString() == "int[]"
9695
entry = nt.getEntry(name)

0 commit comments

Comments
 (0)