Skip to content

Commit

Permalink
[Minor] Lint (pytorch#2096)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens authored Apr 22, 2024
1 parent 32533a5 commit d1cfa3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3416,7 +3416,9 @@ def test_robohive(self, envname, from_pixels, from_depths):
torchrl_logger.info("no camera")
return
try:
env = RoboHiveEnv(envname, from_pixels=from_pixels, from_depths=from_depths)
env = RoboHiveEnv(
envname, from_pixels=from_pixels, from_depths=from_depths
)
except AttributeError as err:
if "'MjData' object has no attribute 'get_body_xipos'" in str(err):
torchrl_logger.info("tcdm are broken")
Expand Down

0 comments on commit d1cfa3a

Please sign in to comment.