def test_all_gym_envs_pickleable(self, spec): env = TfEnv(env_name=spec.id) step_env_with_gym_quirks(env, spec, n=1, render=True, serialize_env=True)
def test_all_gym_envs(self, spec): if spec._env_name.startswith('Defender'): pytest.skip( 'Defender-* envs bundled in atari-py 0.2.x don\'t load') if any(name == spec.id for name in _get_unsupported_env_list()): pytest.skip('Skip unsupported Bullet environments') env = GarageEnv(spec.make()) step_env_with_gym_quirks(env, spec)
def test_all_gym_envs_pickleable(self, spec): if spec._env_name.startswith('Defender'): pytest.skip( 'Defender-* envs bundled in atari-py 0.2.x don\'t load') env = GarageEnv(env_name=spec.id) step_env_with_gym_quirks(env, spec, n=1, render=True, serialize_env=True)
def test_all_gym_envs_pickleable(self, spec): if spec._env_name.startswith('Defender'): pytest.skip( 'Defender-* envs bundled in atari-py 0.2.x don\'t load') if any(name == spec.id for name in _get_unsupported_env_list()): pytest.skip('Skip unsupported Bullet environments') env = GarageEnv(env_name=spec.id) step_env_with_gym_quirks(env, spec, n=1, render=True, serialize_env=True)
def test_all_gym_envs(self, spec): if spec._env_name.startswith('Defender'): pytest.skip( 'Defender-* envs bundled in atari-py 0.2.x don\'t load') if spec._env_name.startswith('CarRacing'): pytest.skip( 'CarRacing-* envs bundled in atari-py 0.2.x don\'t load') if 'Kuka' in spec.id: # Kuka environments calls py_bullet.resetSimulation() in reset() # unconditionally, which globally resets other simulations. So # only one Kuka environment can be tested. pytest.skip('Skip Kuka Bullet environments') env = GymEnv(spec.id) step_env_with_gym_quirks(env, spec, visualize=False)
def test_all_gym_envs(self, spec): env = TfEnv(spec.make()) step_env_with_gym_quirks(env, spec)
def test_all_gym_envs(self, spec): if spec._env_name.startswith('Defender'): pytest.skip( 'Defender-* envs bundled in atari-py 0.2.x don\'t load') env = GarageEnv(spec.make()) step_env_with_gym_quirks(env, spec)
def test_all_gym_envs(self, spec): env = TheanoEnv(spec.make()) step_env_with_gym_quirks(self, env, spec, render=True)