From 600575cbacda12bdc2c8fbafa0abc7dbfe83479f Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Wed, 11 Oct 2023 13:08:06 +0200 Subject: [PATCH] Dont run determinism tests on arbitrary external envs added by other libs (like atari envs added by shimmy), only those included in gym and those added by us. --- test/{test_gym_envs.py => test_all_gym_builtin_envs.py} | 1 + 1 file changed, 1 insertion(+) rename test/{test_gym_envs.py => test_all_gym_builtin_envs.py} (96%) diff --git a/test/test_gym_envs.py b/test/test_all_gym_builtin_envs.py similarity index 96% rename from test/test_gym_envs.py rename to test/test_all_gym_builtin_envs.py index 5e50d53..f2eeac6 100644 --- a/test/test_gym_envs.py +++ b/test/test_all_gym_builtin_envs.py @@ -12,6 +12,7 @@ GYM_IDS = [spec.id for spec in gym.envs.registry.values() if not isinstance(spec.entry_point, Callable) and "fancy_gym" not in spec.entry_point and 'make_bb_env_helper' not in spec.entry_point and 'jax' not in spec.id.lower() + and 'jax' not in spec.id.lower() and not re.match(r'GymV2.Environment', spec.id) ] GYM_MP_IDS = fancy_gym.ALL_DMC_MOVEMENT_PRIMITIVE_ENVIRONMENTS['all']