diff --git a/lightsim2grid/tests/test_LightSimBackend.py b/lightsim2grid/tests/test_LightSimBackend.py index c2cebb5..ce30a54 100644 --- a/lightsim2grid/tests/test_LightSimBackend.py +++ b/lightsim2grid/tests/test_LightSimBackend.py @@ -146,16 +146,14 @@ def make_backend(self, detailed_infos_for_cascading_failures=False): class TestShuntAction(BaseTestShuntAction, unittest.TestCase): + tests_skipped = ["test_shunt_effect"] if sys.platform.startswith("win32") else [] # TODO I don't know why but needs to be fixed def make_backend(self, detailed_infos_for_cascading_failures=False): with warnings.catch_warnings(): warnings.filterwarnings("ignore") bk = LightSimBackend(detailed_infos_for_cascading_failures=detailed_infos_for_cascading_failures) - if sys.platform.startswith("win32"): - self.tests_skipped = ["test_shunt_effect"] # TODO I don't know why but needs to be fixed return bk - class TestResetEqualsLoadGrid(BaseTestResetEqualsLoadGrid, unittest.TestCase): def setUp(self): BaseTestResetEqualsLoadGrid.setUp(self)