From 285c7096e86e818c6be4efc6136afe7c5973d992 Mon Sep 17 00:00:00 2001 From: David Vo Date: Sun, 20 Oct 2024 01:59:59 +1100 Subject: [PATCH] Disable PEP 585 test --- tests/test_magicbot_tunable.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/test_magicbot_tunable.py b/tests/test_magicbot_tunable.py index c47eb55..70f6ac7 100644 --- a/tests/test_magicbot_tunable.py +++ b/tests/test_magicbot_tunable.py @@ -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") @@ -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)