Skip to content

Commit

Permalink
Disable PEP 585 test
Browse files Browse the repository at this point in the history
  • Loading branch information
auscompgeek committed Oct 19, 2024
1 parent ba0e8fd commit 285c709
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/test_magicbot_tunable.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,10 @@ class Component:
class_var_typing_list: ClassVar[tunable[List[int]]] = tunable([])
inst_typing_list: List[int] = tunable([])

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

component = Component()
setup_tunables(component, "test_type_hinted_sequences")
Expand All @@ -87,9 +88,9 @@ class Component:
"generic_typing_list",
"class_var_typing_list",
"inst_typing_list",
"generic_list",
"class_var_list",
"inst_list",
# "generic_list",
# "class_var_list",
# "inst_list",
]:
assert nt.getTopic(name).getTypeString() == "int[]"
entry = nt.getEntry(name)
Expand Down

0 comments on commit 285c709

Please sign in to comment.