Skip to content

Commit

Permalink
Add import
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneteoh committed Jun 13, 2024
1 parent c70fef4 commit dd0baf7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/unit/test_gym.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import gymnasium as gym
import pytest
from gymnasium.utils.env_checker import check_env

import numpy as np

import gymnasium as gym
import rlbench.gym

@pytest.mark.parametrize("env_id", ['rlbench/reach_target-state-v0', ])
def test_env(env_id):
Expand All @@ -22,5 +19,4 @@ def test_env(env_id):
assert np.allclose(obs["joint_positions"], obs2["joint_positions"], atol=1e-3)
assert np.allclose(obs["task_low_dim_state"], obs2["task_low_dim_state"])

breakpoint()
env.close()

0 comments on commit dd0baf7

Please sign in to comment.