Skip to content

Commit ec98dfb

Browse files
Remove atari tests and update test ignore warnings
1 parent 2be5850 commit ec98dfb

File tree

7 files changed

+4
-61
lines changed

7 files changed

+4
-61
lines changed

.github/workflows/optional-test-atari.yml

-19
This file was deleted.

bin/atari.Dockerfile

-37
This file was deleted.

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def get_version():
4545
],
4646
"dm-lab": ["dm-env>=1.6"],
4747
"openspiel": ["open_spiel>=1.2", "pettingzoo>=1.23"],
48-
"meltingpot": ["pettingzoo>=1.23", "dm-meltingpot>=2.2.0; python_version > '3.9'"],
48+
"meltingpot": ["pettingzoo>=1.23", "dm-meltingpot>=2.2.0; python_version > '3.9'", "chex>=1.85"],
4949
"bsuite": ["bsuite>=0.3.5"],
5050
}
5151
extras["all"] = [

tests/test_bsuite.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def test_bsuite_suite_envs():
6060
f"\x1b[33mWARN: {message}\x1b[0m"
6161
for message in [
6262
"A Box observation space minimum value is -infinity. This is probably too low.",
63-
"A Box observation space maximum value is -infinity. This is probably too high.",
63+
"A Box observation space maximum value is infinity. This is probably too high.",
6464
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (28, 28)",
6565
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (42, 42)",
6666
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (10, 5)",

tests/test_dm_control.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def test_dm_control_suite_envs():
4242
f"\x1b[33mWARN: {message}\x1b[0m"
4343
for message in [
4444
"A Box observation space minimum value is -infinity. This is probably too low.",
45-
"A Box observation space maximum value is -infinity. This is probably too high.",
45+
"A Box observation space maximum value is infinity. This is probably too high.",
4646
"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.",
4747
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: ()",
4848
"A Box observation space has an unconventional shape (neither an image, nor a 1D vector). We recommend flattening the observation to have only a 1D vector or use a custom policy to properly process the data. Actual observation shape: (8, 2)",

tests/test_gym.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
for message in [
2020
"This version of the mujoco environments depends on the mujoco-py bindings, which are no longer maintained and may stop working. Please upgrade to the v4 versions of the environments (which depend on the mujoco python bindings instead), unless you are trying to precisely replicate previous works).",
2121
"A Box observation space minimum value is -infinity. This is probably too low.",
22-
"A Box observation space maximum value is -infinity. This is probably too high.",
22+
"A Box observation space maximum value is infinity. This is probably too high.",
2323
"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.",
2424
"The environment CartPole-v0 is out of date. You should consider upgrading to version `v1`.",
2525
]

tests/test_meltingpot.py

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
pytest.importorskip("meltingpot")
1212

13-
import meltingpot
1413
from meltingpot.substrate import SUBSTRATES
1514

1615
from shimmy.meltingpot_compatibility import MeltingPotCompatibilityV0

0 commit comments

Comments
 (0)