Update test_options.py

This commit is contained in:
NewSoupVi
2024-11-16 01:36:28 +01:00
committed by GitHub
parent f9c6ecc8b2
commit 80f85ca6f6

View File

@@ -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))