code: def test_multi_step_dict_gym_env():
      env = GymMazeEnv(env="CartPole-v0")
      assert isinstance(env.action_spaces_dict[0], gym.spaces.Dict)
      assert isinstance(env.observation_spaces_dict[0], gym.spaces.Dict)
  
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 2 for calling a global function with example usage: test_multi_step_dict_gym_env() without return types