MCPcopy
hub / github.com/DLR-RM/stable-baselines3 / test_vec_env_kwargs

Function test_vec_env_kwargs

tests/test_utils.py:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117
118
119def test_vec_env_kwargs():
120 env = make_vec_env("MountainCarContinuous-v0", n_envs=1, seed=0, env_kwargs={"goal_velocity": 0.11})
121 assert env.get_attr("goal_velocity")[0] == 0.11
122
123
124def test_vec_env_wrapper_kwargs():

Callers

nothing calls this directly

Calls 2

make_vec_envFunction · 0.90
get_attrMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…