(use_discrete_actions, channel_last, nested_dict_obs, vec_only)
| 84 | @pytest.mark.parametrize("nested_dict_obs", [True, False]) |
| 85 | @pytest.mark.parametrize("vec_only", [True, False]) |
| 86 | def test_env(use_discrete_actions, channel_last, nested_dict_obs, vec_only): |
| 87 | # Check the env used for testing |
| 88 | if nested_dict_obs: |
| 89 | with pytest.warns(UserWarning, match=r"Nested observation spaces are not supported"): |
| 90 | check_env(DummyDictEnv(use_discrete_actions, channel_last, nested_dict_obs, vec_only)) |
| 91 | else: |
| 92 | check_env(DummyDictEnv(use_discrete_actions, channel_last, nested_dict_obs, vec_only)) |
| 93 | |
| 94 | |
| 95 | @pytest.mark.parametrize("policy", ["MlpPolicy", "CnnPolicy"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…