From 80f85ca6f6a9941a1677519c268f3299248e08bc Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Sat, 16 Nov 2024 01:36:28 +0100 Subject: [PATCH] Update test_options.py --- test/general/test_options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/general/test_options.py b/test/general/test_options.py index d6d5ce6da0..7a3743e5a4 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))