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

Function test_vec_env_wrapper_kwargs

tests/test_utils.py:124–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122
123
124def test_vec_env_wrapper_kwargs():
125 env = make_vec_env("MountainCarContinuous-v0", n_envs=1, seed=0, wrapper_class=MaxAndSkipEnv, wrapper_kwargs={"skip": 3})
126 assert env.get_attr("_skip")[0] == 3
127
128
129def test_vec_env_monitor_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…