From b5beff0973771c87f95f7fc619dc392dc394b37b Mon Sep 17 00:00:00 2001 From: Bill Huang Date: Wed, 23 Oct 2024 19:28:53 +0800 Subject: [PATCH] fix: remove the monitor.close --- tests/test_envpool.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_envpool.py b/tests/test_envpool.py index c1a87412e..394e46c1e 100644 --- a/tests/test_envpool.py +++ b/tests/test_envpool.py @@ -52,7 +52,6 @@ def __call__(self, x): for i in range(5): state = workflow.step(state) - monitor.close() min_fitness, state = use_state(monitor.get_best_fitness)(state) # envpool is deterministic, so the result should always be the same assert min_fitness == 59.0