code: def test_time_limit_wrapper_clone_from():
      """time limit wrapper unit tests"""
  
      def make_env():
          env = GymMazeEnv("CartPole-v0")
          env = TimeLimitWrapper.wrap(env, max_episode_steps=5)
          return env
  
      assert_wrapper_clone_from(
          make_env, assert_member_list=["_elapsed_steps"]
      )
  
file_path: maze/maze/test/core/wrappers/test_time_limit_wrapper.py
imports: from maze.core.wrappers.maze_gym_env_wrapper import GymMazeEnv
  from maze.core.wrappers.time_limit_wrapper import TimeLimitWrapper
  from maze.test.shared_test_utils.helper_functions import build_dummy_base_env, build_dummy_maze_env
  from maze.test.shared_test_utils.wrappers import assert_wrapper_clone_from
label_desc: Use image node_id 4 for calling a global function with example usage: test_time_limit_wrapper_clone_from() and returns: env