@pytest.mark.parametrize('env_id', test_envs)
def test_smoke(env_id):
 gym.undo_logger_setup()
 logging.getLogger().setLevel(logging.INFO)
 env = gym.make(env_id)
 env = wrappers.Unvectorize(env)
 if os.environ.get('FORCE_LATEST_UNIVERSE_DOCKER_RUNTIMES'):
  configure_with_latest_docker_runtime_tag(env)
 else:
  env.configure(remotes=1)
 env.reset()
 _rollout(env, timestep_limit=(60 * 30))

@ pytest . mark . parametrize ( 'env_id' , test_envs ) def test_smoke ( env_id ) : gym . undo_logger_setup ( ) logging . getLogger ( ) . setLevel ( logging . INFO ) env = gym . make ( env_id ) env = wrappers . Unvectorize ( env ) if os . environ . get ( 'FORCE_LATEST_UNIVERSE_DOCKER_RUNTIMES' ) : configure_with_latest_docker_runtime_tag ( env ) else : env . configure ( remotes = 1 ) env . reset ( ) _rollout ( env , timestep_limit = ( 60 * 30 ) )
check that environments start up without errors and that we can extract rewards and observations .