code: def test_get_time_limit_finds_time_limit():
      env = gym.make("PongNoFrameskip-v4")
      time_limit = env._max_episode_steps
  
      env = Noop(env, noop_max=30)
      env = MaxAndSkip(env, skip=4)
      env = EpisodicLife(env)
      env = Grayscale(env)
      env = Resize(env, 84, 84)
      env = ClipReward(env)
      env = StackFrames(env, 4)
  
      env = GymEnv(env)
      assert env._max_episode_length == time_limit
  
imports: import math
  import pickle
  import gym
  import pytest
  from garage import EnvSpec
  from garage.envs import GymEnv
  from garage.envs.bullet import BulletEnv
  from garage.envs.wrappers.clip_reward import ClipReward
  from garage.envs.wrappers.episodic_life import EpisodicLife
  from garage.envs.wrappers.grayscale import Grayscale
  from garage.envs.wrappers.max_and_skip import MaxAndSkip
  from garage.envs.wrappers.noop import Noop
  from garage.envs.wrappers.resize import Resize
  from garage.envs.wrappers.stack_frames import StackFrames
label_desc: Use image node_id 9 for calling a global function with example usage: test_get_time_limit_finds_time_limit() without return types