diff --git a/tests/test_module_load.py b/tests/test_module_load.py index 2a60864b54..15017db5b0 100644 --- a/tests/test_module_load.py +++ b/tests/test_module_load.py @@ -5,8 +5,9 @@ class TestModule: static_variable = 123 - def __init__(self): - self.instance_variable = 321 + @classmethod + def setup_class(cls): + cls.instance_variable = 321 def post_config_hook(self): pass