Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
kurtamohler committed Dec 17, 2024
1 parent a88304b commit b6a4f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@
else:
mp_ctx = "fork"

_has_chess = importlib.util.find_spec("chess") is not None

## TO BE FIXED: DiscreteActionProjection queries a randint on each worker, which leads to divergent results between
## the serial and parallel batched envs
# def _make_atari_env(atari_env):
Expand Down Expand Up @@ -3381,8 +3383,6 @@ def test_partial_rest(self, batched):
assert s_["string"] == ["0", "6"]
assert s["next", "string"] == ["6", "6"]

_has_chess = importlib.util.find_spec("chess") is not None

# fen strings for board positions generated with:
# https://lichess.org/editor
@pytest.mark.parametrize("stateful", [False, True])
Expand Down

0 comments on commit b6a4f24

Please sign in to comment.