Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 603487100
Change-Id: Ibe7c29de624b46dc0666f0d23cdb678f20ca3457
  • Loading branch information
Brax Team authored and btaba committed Feb 1, 2024
1 parent dd37045 commit 30fcc66
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
6 changes: 0 additions & 6 deletions brax/envs/wrappers/dm_env_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ def test_action_space(self):
np.testing.assert_array_equal(
env.action_spec().maximum, base_env.sys.actuator.ctrl_range[:, 1])

def test_render(self):
base_env = envs.create('pusher')
env = dm_env.DmEnvWrapper(base_env)
env.reset()
env.render()


if __name__ == '__main__':
absltest.main()
5 changes: 0 additions & 5 deletions brax/envs/wrappers/gym_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ def test_action_space(self):
np.testing.assert_array_equal(
env.action_space.high, base_env.sys.actuator.ctrl_range[:, 1])

def test_render(self):
base_env = envs.create('pusher')
env = gym.GymWrapper(base_env)
env.reset()
env.render(mode='rgb_array')

def test_vector_action_space(self):
"""Tests the action space of the VectorGymWrapper."""
Expand Down

0 comments on commit 30fcc66

Please sign in to comment.