Skip to content

Commit

Permalink
Add warnings to dm-control
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudo-rnd-thoughts committed Jan 7, 2025
1 parent cfb8a3d commit 9de3228
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_dm_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ def test_dm_control_suite_envs():
"A Box observation space maximum value is infinity. This is probably too high.",
"For Box action spaces, we recommend using a symmetric and normalized space (range=[-1, 1] or [0, 1]). See https://stable-baselines3.readthedocs.io/en/master/guide/rl_tips.html for more information.",
"Calling `env.close()` on the closed environment should be allowed, but it raised an exception: _data",
"`in1d` is deprecated. Use `np.isin` instead.",
"Calling `env.close()` on the closed environment should be allowed, but it raised an exception: 'Physics' object has no attribute '_data'",
]
]
CHECK_ENV_IGNORE_WARNINGS.append("`in1d` is deprecated. Use `np.isin` instead.")


@pytest.mark.parametrize("env_id", DM_CONTROL_ENV_IDS)
Expand Down

0 comments on commit 9de3228

Please sign in to comment.