From 36c6829d81170038d19103cd63aed95659a8fa7c Mon Sep 17 00:00:00 2001 From: DONNOT Benjamin Date: Fri, 27 Oct 2023 16:38:23 +0200 Subject: [PATCH] force the seed in some broken tests --- lightsim2grid/tests/test_dist_slack_backend.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/lightsim2grid/tests/test_dist_slack_backend.py b/lightsim2grid/tests/test_dist_slack_backend.py index 02382ae..b51f281 100644 --- a/lightsim2grid/tests/test_dist_slack_backend.py +++ b/lightsim2grid/tests/test_dist_slack_backend.py @@ -101,8 +101,6 @@ def test_after_runner(self): runner_ds = Runner(**self.env_ds.get_params_for_runner()) res_ss = runner_ss.run(self._aux_get_kwargs_runner()) res_ds = runner_ds.run(self._aux_get_kwargs_runner()) - import pdb - pdb.set_trace() if res_ss[0][3] != res_ds[0][3]: # same number of steps survived raise RuntimeError(f"{res_ss[0][3]} vs {res_ds[0][3]}: ") assert res_ss[0][2] != res_ds[0][2] # not the same reward