diff --git a/test/general/test_options.py b/test/general/test_options.py index d6d5ce6d..7a3743e5 100644 --- a/test/general/test_options.py +++ b/test/general/test_options.py @@ -78,4 +78,4 @@ class TestOptions(unittest.TestCase): if not world_type.hidden: for option_key, option in world_type.options_dataclass.type_hints.items(): with self.subTest(game=gamename, option=option_key): - pickle.dumps(option(option.default)) + pickle.dumps(option.from_any(option.default))