Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
tomsilver committed Nov 15, 2023
1 parent f2ebfaa commit 4fdc89a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/envs/test_sokoban.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def test_sokoban():
imgs = env.render()
assert len(imgs) == 1
task = perceiver.reset(env_task)
with pytest.raises(NotImplementedError):
perceiver.render_mental_images(env_task.init_obs, env_task)
state = task.init
atoms = utils.abstract(state, env.predicates)
num_boxes = len({a for a in atoms if a.predicate == IsBox})
Expand Down

0 comments on commit 4fdc89a

Please sign in to comment.