浏览代码

🇺🇸 fix spelling 🇺🇸 (#4663)

/MLA-1734-demo-provider
GitHub 4 年前
当前提交
078de517
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      gym-unity/gym_unity/tests/test_gym.py

4
gym-unity/gym_unity/tests/test_gym.py


assert isinstance(done, (bool, np.bool_))
assert isinstance(info, dict)
# check behaviour for allow_multiple_obs = False
# check behavior for allow_multiple_obs = False
env = UnityToGymWrapper(mock_env, uint8_visual=use_uint8, allow_multiple_obs=False)
assert isinstance(env, UnityToGymWrapper)
assert isinstance(env.observation_space, spaces.Box)

assert isinstance(done, (bool, np.bool_))
assert isinstance(info, dict)
# check behaviour for allow_multiple_obs = False
# check behavior for allow_multiple_obs = False
env = UnityToGymWrapper(mock_env, uint8_visual=use_uint8, allow_multiple_obs=False)
assert isinstance(env, UnityToGymWrapper)
assert isinstance(env.observation_space, spaces.Box)

正在加载...
取消
保存