Skip to content

Commit

Permalink
fix: remove the monitor.close
Browse files Browse the repository at this point in the history
  • Loading branch information
BillHuang2001 committed Oct 23, 2024
1 parent 8285b29 commit b5beff0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_envpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b5beff0

Please sign in to comment.