Skip to content

Commit 123f8ab

Browse files
Update test/test_libs.py
Co-authored-by: Vincent Moens <vincentmoens@gmail.com>
1 parent 0ea109d commit 123f8ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_libs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5344,8 +5344,8 @@ def test_isaaclab_reset(self, env):
53445344
# Check that done obs are None
53455345
assert not r["next", "policy"][r["next", "done"].squeeze(-1)].isfinite().any()
53465346

5347+
@pytest.mark.skipif(not _has_procgen, reason="Procgen not found")
53475348
class TestProcgen:
5348-
@pytest.mark.skipif(not _has_procgen, reason="Procgen not found")
53495349
@pytest.mark.parametrize("envname", ["coinrun", "starpilot"])
53505350
def test_procgen_envs_available(self, envname):
53515351
from torchrl.envs.libs.procgen import ProcgenEnv

0 commit comments

Comments
 (0)