mirror of
https://github.com/Farama-Foundation/Gymnasium.git
synced 2025-08-30 01:50:19 +00:00
Jax environment return jax data rather than numpy data (#817)
Co-authored-by: pseudo-rnd-thoughts <mark.m.towers@gmail.com>
This commit is contained in:
committed by
GitHub
parent
f0202ae350
commit
d43037920f
@@ -19,6 +19,9 @@ from tests.testing_env import GenericTestEnv
|
||||
ids=[env.spec.id for env in all_testing_initialised_envs if env.spec is not None],
|
||||
)
|
||||
def test_passive_checker_wrapper_warnings(env):
|
||||
if env.spec is not None and env.spec.disable_env_checker:
|
||||
return
|
||||
|
||||
with warnings.catch_warnings(record=True) as caught_warnings:
|
||||
checker_env = PassiveEnvChecker(env)
|
||||
checker_env.reset()
|
||||
|
Reference in New Issue
Block a user