code: def test_maze_gym_env_wrapper():
      """gym env wrapper unit test"""
      env = GymMazeEnv(env="CartPole-v0")
      env.seed(1234)
      obs = env.reset()
      env.observation_conversion.space_to_maze(obs)
      assert not env.is_actor_done()
      assert env.get_serializable_components() == {}
      for _ in range(10):
          env.step(env.action_space.sample())
      env.close()
  
file_path: maze/maze/test/core/wrappers/test_maze_gym_env_wrapper.py
imports: import gym
  import numpy
  import pytest
  from maze.core.agent.dummy_cartpole_policy import DummyCartPolePolicy
  from maze.core.agent.random_policy import RandomPolicy
  from maze.core.wrappers.maze_gym_env_wrapper import GymMazeEnv
  from maze.test.shared_test_utils.test_seeding import perform_seeding_test
  from maze.test.shared_test_utils.wrappers import assert_wrapper_clone_from
label_desc: Use image node_id 1 for calling a global function with example usage: test_maze_gym_env_wrapper() without return types