Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
vmoens committed Jan 30, 2025
2 parents e29c62c + 423cab5 commit 260ac98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -3433,7 +3433,9 @@ def test_dynamic_rollout(self):
RuntimeError,
match="The environment specs are dynamic. Call rollout with return_contiguous=False",
):
rollout = env.rollout(4, return_contiguous=True)
env.rollout(4, return_contiguous=True)
env.rollout(4)
env.rollout(4, return_contiguous=False)
check_env_specs(env, return_contiguous=False)

@pytest.mark.skipif(not _has_gym, reason="requires gym to be installed")
Expand Down

0 comments on commit 260ac98

Please sign in to comment.